ehab215 commited on
Commit
3684f83
·
verified ·
1 Parent(s): cacb183

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -7
README.md CHANGED
@@ -73,6 +73,7 @@ The following hyperparameters were used during training:
73
 
74
  ### How to use:
75
  ```python
 
76
  model_path = "ehab215/egyptian_sentiment_analysis"
77
  tokenizer = AutoTokenizer.from_pretrained(model_path)
78
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
@@ -83,13 +84,7 @@ model.to(device)
83
 
84
  # Step 2: Prepare test examples
85
  examples = [
86
- "والله الفرح امبارح كان تحفة، الناس كلها كانت مبسوطة والأكل كان جامد وكله تمام",
87
- "مبروك يا معلم على الشغل الجديد! انت تستاهل كل خير والله، ربنا يوفقك",
88
- "النهاردة الجو عادي، لا حر ولا برد، يعني معتدل",
89
- "المحل اللي تحت البيت بيفتح من الصبح لحد بالليل، بيبيع كل حاجة",
90
- "الزحمة في الشارع بقت مش طبيعية، مش عارف اروح شغلي في معاد، تعبت بجد",
91
- "العربية خربانة من اسبوع والميكانيكي مش عارف يصلحها، ومصاريف كتير على الفاضي",
92
- "الانترنت في البيت بطيء جداً وبيفصل كل شوية، اتصلت بالشركة مليون مرة ومفيش فايدة",
93
  ]
94
 
95
  # Tokenize the examples
 
73
 
74
  ### How to use:
75
  ```python
76
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
77
  model_path = "ehab215/egyptian_sentiment_analysis"
78
  tokenizer = AutoTokenizer.from_pretrained(model_path)
79
  model = AutoModelForSequenceClassification.from_pretrained(model_path)
 
84
 
85
  # Step 2: Prepare test examples
86
  examples = [
87
+ add any examples you would
 
 
 
 
 
 
88
  ]
89
 
90
  # Tokenize the examples