Skip to content

Commit 3868aa3

Browse files
committed
adert
1 parent 5a82033 commit 3868aa3

File tree

13 files changed

+19
-12
lines changed

13 files changed

+19
-12
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,6 @@ cython_debug/
160160
# and can be added to the global gitignore or merged into this file. For a more nuclear
161161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162162
#.idea/
163-
164-
.env/
163+
myenv/
164+
.env/
165+
Dockerfile

app.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@
3636
)
3737

3838
repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
39-
llm = HuggingFaceEndpoint(repo_id=repo_id, max_length=1024, temperature=0.3, token=os.getenv('HUGGINGFACEHUB_API_TOKEN'))
39+
llm = HuggingFaceEndpoint(
40+
repo_id=repo_id,
41+
task="summarization",
42+
max_length=1024,
43+
temperature=0.3,
44+
token=os.getenv('HUGGINGFACEHUB_API_TOKEN')
45+
)
4046

4147
# Define the prompt template
4248
prompt_template = """
Binary file not shown.
-100 Bytes
Binary file not shown.
-3.91 KB
Binary file not shown.

database_db1/088eaf43-4563-419d-a48b-99677f09c20d/link_lists.bin

Whitespace-only changes.
Binary file not shown.
-100 Bytes
Binary file not shown.
-3.91 KB
Binary file not shown.

database_db1/911b276d-eacb-49dd-a4e7-c1128bb16b90/link_lists.bin

Whitespace-only changes.

0 commit comments

Comments
 (0)