mofawzy commited on
Commit
fac15b3
1 Parent(s): 5a428be

update model card

Browse files
Files changed (1) hide show
  1. README.md +15 -0
README.md CHANGED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Generate Arabic reviews sentences with model GPT-2 Medium.
2
+
3
+ #### Load model
4
+
5
+ ```
6
+ from transformers import AutoTokenizer, AutoModelWithLMHead
7
+
8
+ tokenizer = AutoTokenizer.from_pretrained("mofawzy/gpt-2-medium-ar")
9
+
10
+ model = AutoModelWithLMHead.from_pretrained("mofawzy/gpt-2-medium-ar")
11
+ ```
12
+
13
+
14
+ #### Notebook:
15
+ https://colab.research.google.com/drive/1P0Raqrq0iBLNH87DyN9j0SwWg4C2HubV?usp=sharing