methodya commited on
Commit
0455597
·
1 Parent(s): f49c538

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -18,3 +18,15 @@ To use this model, first, install the `transformers` library:
18
 
19
  ```bash
20
  pip install transformers
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ```bash
20
  pip install transformers
21
+
22
+ ### Usage
23
+
24
+ from transformers import AutoTokenizer, TFAutoModelForSequenceClassification
25
+
26
+ model_name = "Book Genre Prediction Model"
27
+
28
+ # Load the tokenizer and model
29
+ tokenizer = AutoTokenizer.from_pretrained(model_name)
30
+ model = TFAutoModelForSequenceClassification.from_pretrained(model_name)
31
+
32
+