File size: 1,102 Bytes
1885d42
c0061ed
 
 
 
 
 
1885d42
c0061ed
 
 
1885d42
c0061ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---

language: en
tags:
- text-classification
- product-detection
datasets:
- your-dataset-name
license: apache-2.0
model_name: Quintu/deberta-v3-large-1280-product
library_name: transformers
pipeline_tag: text-classification
---

# Quintu/deberta-v3-large-1280-product

Mô hình `Quintu/deberta-v3-large-1280-product` được thiết kế để thực hiện phân loại văn bản liên quan đến phát hiện loại sản phẩm.

## Cách sử dụng

Dưới đây là cách sử dụng mô hình này với thư viện `transformers`:

```python

from transformers import AutoTokenizer, AutoModelForSequenceClassification



# Tải mô hình và tokenizer

model_name = "Quintu/deberta-v3-large-1280-product"

tokenizer = AutoTokenizer.from_pretrained(model_name)

model = AutoModelForSequenceClassification.from_pretrained(model_name)



# Sử dụng mô hình để phân loại văn bản

text = "This is an example text to classify."

inputs = tokenizer(text, return_tensors="pt")

outputs = model(**inputs)



# Dự đoán

logits = outputs.logits

print(logits)