Hailay commited on
Commit
1941505
1 Parent(s): 922b995

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -4
README.md CHANGED
@@ -1,15 +1,20 @@
1
  ---
 
 
 
 
 
 
2
  library_name: transformers
3
  license: apache-2.0
4
  language:
5
  - am
6
  - ti
7
- ---from transformers import XLMRobertaTokenizer, XLMRobertaForSequenceClassification
8
 
 
9
  model_name = "Hailay/FT_EXLMR"
10
  tokenizer = XLMRobertaTokenizer.from_pretrained(model_name)
11
  model = XLMRobertaForSequenceClassification.from_pretrained(model_name)
12
-
13
  inputs = tokenizer("Your text here", return_tensors="pt")
14
  outputs = model(**inputs)
15
  ------
@@ -39,5 +44,4 @@ Bias & Risks: Assess for biases; evaluate suitability for specific applications
39
  Environmental Impact: [Details about hardware and training time]
40
  Citation:
41
 
42
- BibTeX & APA formats available
43
-
 
1
  ---
2
+ license: apache-2.0
3
+ language:
4
+ - am
5
+ - ti
6
+ ---
7
+ ---
8
  library_name: transformers
9
  license: apache-2.0
10
  language:
11
  - am
12
  - ti
 
13
 
14
+ ---from transformers import XLMRobertaTokenizer, XLMRobertaForSequenceClassification
15
  model_name = "Hailay/FT_EXLMR"
16
  tokenizer = XLMRobertaTokenizer.from_pretrained(model_name)
17
  model = XLMRobertaForSequenceClassification.from_pretrained(model_name)
 
18
  inputs = tokenizer("Your text here", return_tensors="pt")
19
  outputs = model(**inputs)
20
  ------
 
44
  Environmental Impact: [Details about hardware and training time]
45
  Citation:
46
 
47
+ BibTeX & APA formats available