yonikremer commited on
Commit
9c8dd72
โ€ข
1 Parent(s): 7924ca5

added user instructions

Browse files
Files changed (2) hide show
  1. app.py +5 -0
  2. user_instructions_hebrew.md +45 -0
app.py CHANGED
@@ -65,3 +65,8 @@ with st.form("request_form"):
65
  except (ValueError, TypeError, RuntimeError) as e:
66
  st.error(e)
67
  st.write(f"Generated text: {output}")
 
 
 
 
 
 
65
  except (ValueError, TypeError, RuntimeError) as e:
66
  st.error(e)
67
  st.write(f"Generated text: {output}")
68
+
69
+
70
+ with open("user_instructions_hebrew.md", "r") as fh:
71
+ long_description = fh.read()
72
+ st.markdown(long_description)
user_instructions_hebrew.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ืชืฉืชืžืฉื• ื‘ื“ื’ื™ืžื” ื‘ืงื‘ื•ืฆื•ืช
2
+
3
+ ื‘ื“ืžื• ื”ื–ื”, ืืชื ื™ื›ื•ืœื™ื ืœื”ืฉืชืžืฉ ื‘ืงืœื•ืช ื‘ื“ื’ื™ืžื” ื‘ืงื‘ื•ืฆื•ืช.
4
+
5
+ ืชื‘ื—ืจื• ืžื•ื“ืœ ืฉื™ืฉ ืœื• ืœืคื—ื•ืช ืœื™ื™ืง ืื—ื“ ืžืชื•ืš [ื”ืžืื’ืจ](https://huggingface.co/models?pipeline_tag=text-generation&library=pytorch&sort=downloads)
6
+ ืชื›ืชื‘ื• ืœืžื•ื“ืœ ื”ื•ืจืื•ืช ื‘ืจื•ืจื•ืช ื•ืชื‘ื—ืจื• ืืช ืื•ืจืš ื”ื˜ืงืกื˜ ืฉืืชื ืจื•ืฆื™ื ืฉื”ืžื•ื“ืœ ื™ืฆื•ืจ.
7
+
8
+ ## ืขืฆื•ืช ืœื›ืชื™ื‘ืช ื”ืคืจื•ืžืคื˜
9
+
10
+ 1. ืชืฉืชืžืฉื• ื‘ืžื•ื“ืœ ื”ืžืชืื™ื - ื›ืœ ืžื•ื“ืœ ื ื•ืฆืจ ืœืžืฉื™ืžื” ืžืกื•ื™ืžืช. ืชืฉืืœื• ืื•ืชื™ ืื™ื–ื” ืžื•ื“ืœ ืœื‘ื—ื•ืจ ืœืžืฉื™ืžื” ืฉืœื›ื
11
+ 2. ืชืฉืงื™ืขื• ืžื—ืฉื‘ื” ื‘ืื•ืจืš ื”ื˜ืงืกื˜ ืฉืืชื ืจื•ืฆื™ื ืฉื”ืืœื’ื•ืจื™ืชื ื™ืฆื•ืจ
12
+ 3. ืชื–ื›ืจื• ืฉื–ื” ืจืง ื“ืžื•, ื”ื“ืžื• ืจืฅ ืขืœ ืžืขื‘ื“ ื’ืจืคื™ ืื—ื“ ื‘ืœื‘ื“ ื•ืœื›ืŸ ืœื ื ื™ืชืŸ ืœื”ืจื™ืฅ ื‘ื“ืžื• ืืช ื”ืžื•ื“ืœื™ื ื”ื—ื–ืงื™ื ื‘ื™ื•ืชืจ ืืœื ืจืง ืžื•ื“ืœื™ื ืงื˜ื ื™ื ื•ืคื•ืžื‘ื™ื™ื
13
+ 3. ืชื›ืชื‘ื• ื‘ืื ื’ืœื™ืช ื•ืœื ื‘ืขื‘ืจื™ืช. ืจื•ื‘ ื”ืžื•ื“ืœื™ื ืœื ืชื•ืžื›ื™ื ื‘ืขื‘ืจื™ืช ื›ืœืœ ื•ืืœื” ืฉื›ืŸ, ืžื’ื™ืขื™ื ืœืชื•ืฆืื•ืช ื”ืจื‘ื” ื™ื•ืชืจ ื˜ื•ื‘ื•ืช ื‘ืื ื’ืœื™ืช
14
+ 4. ืชื’ื™ื“ื• ืœืืœื’ื•ืจื™ืชื ื‘ื“ื™ื•ืง ืžื” ืœืขืฉื•ืช - ื”ืชื—ื™ืœื• ื‘ื”ื•ืจืื” ื•ื”ืคืจื™ื“ื• ืืช ื”ื—ืœืงื™ื
15
+
16
+ ืœื“ื•ื’ืžื”:
17
+
18
+ Instruction: """answer the following question with yes or no."""
19
+
20
+ Question: """PUT YOUR QUESTION HERE"""
21
+
22
+ Answer: """
23
+
24
+ 5. ื”ืฉืชืžืฉื• ื‘ืชื‘ื ื™ื•ืช ืขื ื“ื•ื’ืžื•ืช - ืœื“ื•ื’ืžื”:
25
+
26
+ Instruction: """Label the following sentences to positive or negative"""
27
+
28
+ Sentence: """I love you""". Sentiment: """Positive"""
29
+
30
+ Sentence: """I hate you""". Sentiment: """Negative"""
31
+
32
+ Sentence: """your sentence here.""" Sentiment: """
33
+
34
+ 6. ืืœ ืชืกื™ื™ืžื• ืืช ื”ืคืจื•ืžืคื˜ ื‘ืจื•ื•ื—
35
+ 7. ืชืฉืชืžืฉื• ื‘ื—ื™ืคื•ืฉ ื‘ืื™ื ื˜ืจื ื˜ ืจืง ืื ื”ืžื™ื“ืข ื‘ืื™ื ื˜ืจื ื˜ ื”ื•ื ืงืจื™ื˜ื™ ืœื”ืฆืœื—ืช ื”ืžืฉื™ืžื” ืฉื”ื˜ืœืชื ืขืœ ื”ืืœื’ื•ืจื™ืชื. ืžื™ื“ืข ืœื ืจืœื•ื•ื ื˜ื™ ื™ื‘ืœื‘ืœ ืืช ื”ืืœื’ื•ืจื™ืชื
36
+ 8. ืชืขื–ืจื• ืœืืœื’ื•ื™ืจืชื - ืชืกืคืงื• ืœืืœื’ื•ืจื™ืชื ืืช ื›ืœ ื”ืžื™ื“ืข ื”ื ื“ืจืฉ
37
+ 9. ื‘ืžืฉื™ืžื•ืช ืžืกื•ื‘ื›ื•ืช, ื”ืชื—ื™ืœื• ืืช ื”ืคืจื•ืžืคื˜ ื‘ืžืฉืคื˜ "Let's think step by step"
38
+ 10. ืชื”ื™ื• ืกืคื™ืฆืคื™ื™ื
39
+ 11. ืชืชื—ื™ืœื• ืืช ื”ืžืฉื™ืžื” ื‘ืขืฆืžื›ื
40
+
41
+ ื“ื•ื’ืžื”:
42
+
43
+ Instruction: """Write your opinion about _____"""
44
+
45
+ Opinion: """In my opinion,