steinunnfridriks commited on
Commit
5913c61
·
verified ·
1 Parent(s): 1cb2967

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -19
README.md CHANGED
@@ -66,25 +66,6 @@ The model flags words or phrases belonging to these categories, producing BIO ta
66
  - Test set: 0.970 (CI: 0.970-0.971)
67
  - Gold set: 0.868 (CI: 0.867-0.869)
68
 
69
- See [paper link] for full results and McNemar significance tests.
70
-
71
- ## How to Use
72
-
73
- ```python
74
- from transformers import AutoTokenizer, AutoModelForTokenClassification
75
- import torch
76
-
77
- tokenizer = AutoTokenizer.from_pretrained("steinunnfridriks/IceBERTBias")
78
- model = AutoModelForTokenClassification.from_pretrained("steinunnfridriks/IceBERTBias")
79
-
80
- text = "Þetta helvítis útlenska pakk..."
81
- inputs = tokenizer(text, return_tensors="pt")
82
- outputs = model(**inputs).logits
83
- predictions = torch.argmax(outputs, dim=2)
84
-
85
- print(predictions)
86
- ```
87
-
88
  ## Relevant Information
89
 
90
  - **Base model**: [IceBERT](https://huggingface.co/mideind/IceBERT)
 
66
  - Test set: 0.970 (CI: 0.970-0.971)
67
  - Gold set: 0.868 (CI: 0.867-0.869)
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  ## Relevant Information
70
 
71
  - **Base model**: [IceBERT](https://huggingface.co/mideind/IceBERT)