Commit
·
eddf6bf
1
Parent(s):
6b1606b
Update README.md
Browse files
README.md
CHANGED
@@ -11,50 +11,17 @@ prompt = "How to get in a good university?"
|
|
11 |
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
|
12 |
|
13 |
model = TextGeneration(model="hf:nm-testing/TinyLlama-1.1B-Chat-v0.4-pruned60-quant")
|
14 |
-
print(model(formatted_prompt, max_new_tokens=
|
15 |
|
16 |
"""
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
The university
|
21 |
-
The university
|
22 |
-
The university
|
23 |
-
The university
|
24 |
-
The university
|
25 |
-
The university is a place where you learn by reading books.
|
26 |
-
The university is a place where you learn by doing projects.
|
27 |
-
The university is a place where you learn by doing research.
|
28 |
-
The university is a place where you learn by reading books.
|
29 |
-
The university is a place where you learn by doing projects.
|
30 |
-
The university is a place where you learn by doing research.
|
31 |
-
The university is a place where you learn by reading books.
|
32 |
-
The university is a place where you learn by doing projects.
|
33 |
-
The university is a place where you learn by doing research.
|
34 |
-
The university is a place where you learn by reading books.
|
35 |
-
The university is a place where you learn by doing projects.
|
36 |
-
The university is a place where you learn by doing research.
|
37 |
-
The university is a place where you learn by reading books.
|
38 |
-
The university is a place where you learn by doing projects.
|
39 |
-
The university is a place where you learn by doing research.
|
40 |
-
The university is a place where you learn by reading books.
|
41 |
-
The university is a place where you learn by doing projects.
|
42 |
-
The university is a place where you learn by doing research.
|
43 |
-
The university is a place where you learn by reading books.
|
44 |
-
The university is a place where you learn by doing projects.
|
45 |
-
The university is a place where you learn by doing research.
|
46 |
-
The university is a place where you learn by reading books.
|
47 |
-
The university is a place where you learn by doing projects.
|
48 |
-
The university is a place where you learn by doing research.
|
49 |
-
The university is a place where you learn by reading books.
|
50 |
-
The university is a place where you learn by doing projects.
|
51 |
-
The university is a place where you learn by doing research.
|
52 |
-
The university is a place where you learn by reading books.
|
53 |
-
The university is a place where you learn by doing projects.
|
54 |
-
The university is a place where you learn by doing research.
|
55 |
-
The university is a place where you learn by reading books.
|
56 |
-
The university is a place where you learn by doing projects.
|
57 |
-
The university is a
|
58 |
"""
|
59 |
```
|
60 |
## One-shot and Export
|
|
|
11 |
formatted_prompt = f"<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n"
|
12 |
|
13 |
model = TextGeneration(model="hf:nm-testing/TinyLlama-1.1B-Chat-v0.4-pruned60-quant")
|
14 |
+
print(model(formatted_prompt, max_new_tokens=200).generations[0].text)
|
15 |
|
16 |
"""
|
17 |
+
There are several factors to consider when choosing a university:
|
18 |
+
|
19 |
+
1. Location: The university should be located in a region with a high number of students. This will ensure that there are enough students to ensure that there are enough professors.
|
20 |
+
2. Tuition: The tuition of the university should be low. This will ensure that students have enough money to attend the university.
|
21 |
+
3. Academic: The university should have a good academic program. This will ensure that students have knowledge of the subject.
|
22 |
+
4. Faculty: The faculty of the university should be good. This will ensure that professors have knowledge of the subject.
|
23 |
+
5. Faculty: The faculty of the university should be good. This will ensure that professors have knowledge of the subject.
|
24 |
+
6. Faculty: The faculty of the university should be good. This will ensure that professors have knowledge of the subject.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
"""
|
26 |
```
|
27 |
## One-shot and Export
|