louisbrulenaudet commited on
Commit
4f20851
1 Parent(s): c8de1dd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -74,6 +74,16 @@ It achieves the following results on the evaluation set of 5000 texts:
74
  - Loss: 0.4096
75
  - Accuracy: 0.9265
76
 
 
 
 
 
 
 
 
 
 
 
77
  ### Training hyperparameters
78
 
79
  The following hyperparameters were used during training:
 
74
  - Loss: 0.4096
75
  - Accuracy: 0.9265
76
 
77
+ ### Usage
78
+
79
+ ```python
80
+ # Load model directly
81
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
82
+
83
+ tokenizer = AutoTokenizer.from_pretrained("louisbrulenaudet/lemone-router-m")
84
+ model = AutoModelForSequenceClassification.from_pretrained("louisbrulenaudet/lemone-router-m")
85
+ ```
86
+
87
  ### Training hyperparameters
88
 
89
  The following hyperparameters were used during training: