Spaces:
Sleeping
Sleeping
Update tweet_analyzer.py
Browse files- tweet_analyzer.py +2 -2
tweet_analyzer.py
CHANGED
@@ -86,7 +86,7 @@ class TweetDatasetProcessor:
|
|
86 |
{"role": "system", "content": "You are an expert psychologist."},
|
87 |
{"role": "user", "content": analysis_prompt},
|
88 |
],
|
89 |
-
model="
|
90 |
temperature=0.1,
|
91 |
)
|
92 |
self.personality_profile = response.choices[0].message.content
|
@@ -144,7 +144,7 @@ class TweetDatasetProcessor:
|
|
144 |
{"role": "system", "content": "You are an expert in replicating writing and thinking patterns."},
|
145 |
{"role": "user", "content": generation_prompt},
|
146 |
],
|
147 |
-
model="
|
148 |
temperature=1.0, # Increased temperature for more diversity
|
149 |
max_tokens=150,
|
150 |
)
|
|
|
86 |
{"role": "system", "content": "You are an expert psychologist."},
|
87 |
{"role": "user", "content": analysis_prompt},
|
88 |
],
|
89 |
+
model="llama3-groq-70b-8192-tool-use-preview",
|
90 |
temperature=0.1,
|
91 |
)
|
92 |
self.personality_profile = response.choices[0].message.content
|
|
|
144 |
{"role": "system", "content": "You are an expert in replicating writing and thinking patterns."},
|
145 |
{"role": "user", "content": generation_prompt},
|
146 |
],
|
147 |
+
model="llama3-groq-70b-8192-tool-use-preview",
|
148 |
temperature=1.0, # Increased temperature for more diversity
|
149 |
max_tokens=150,
|
150 |
)
|