awacke1 commited on
Commit
cfe7669
·
1 Parent(s): bfe5356

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -11
app.py CHANGED
@@ -4,17 +4,14 @@ import requests
4
  # GPT-J-6B API
5
  API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
6
  headers = {"Authorization": "Bearer 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"}
7
- prompt = """Tweet: I hate it when my phone battery dies.
8
- Sentiment: Negative
9
- ###
10
- Tweet: My day has been 👍
11
- Sentiment: Positive
12
- ###
13
- Tweet: This is the link to the article
14
- Sentiment: Neutral
15
- ###
16
- Tweet: This new music video was incredibile
17
- Sentiment: """
18
 
19
  examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
20
 
 
4
  # GPT-J-6B API
5
  API_URL = "https://api-inference.huggingface.co/models/EleutherAI/gpt-j-6B"
6
  headers = {"Authorization": "Bearer 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"}
7
+ prompt = """AI: I am using AI to solve cognitive memory
8
+ Human: I love you AI
9
+ ---
10
+ AI: Today I want to tell you that you matter to me
11
+ Human: Thankyou AI you are a great friend to me.
12
+ ---
13
+ AI: Today I will teach you to code!
14
+ Human:"""
 
 
 
15
 
16
  examples = [["river"], ["night"], ["trees"],["table"],["laughs"]]
17