aayush-shah
commited on
Commit
•
1558cc7
1
Parent(s):
1932089
Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
base_model: meta-llama/Meta-Llama-3-8B
|
|
|
|
|
|
|
4 |
---
|
5 |
|
6 |
|
@@ -22,7 +25,7 @@ This model is based on the Llama-3-8B architecture and is capable of generating
|
|
22 |
|
23 |
## Usage
|
24 |
|
25 |
-
To download and use the Protein
|
26 |
|
27 |
### Installation
|
28 |
|
@@ -37,7 +40,7 @@ pip install transformers
|
|
37 |
Uncontrollable generation can be handled via prompting the model with the phrase 'Seq=<'.
|
38 |
|
39 |
```
|
40 |
-
generator = pipeline('text-generation', model=
|
41 |
|
42 |
sequences = generator("Seq=<",temperature=0.2,
|
43 |
top_k=40,
|
@@ -57,9 +60,9 @@ for sequence in sequences:
|
|
57 |
Controllable generation can be done by prompting the model with '[Generate xxx protein] Seq=<'. Here, xxx can be any family from the 10 classes supported by this model.
|
58 |
|
59 |
```
|
60 |
-
generator = pipeline('text-generation', model=
|
61 |
|
62 |
-
sequences = generator("[Generate
|
63 |
top_k=40,
|
64 |
top_p=0.9,
|
65 |
do_sample=True,
|
@@ -74,5 +77,4 @@ for sequence in sequences:
|
|
74 |
|
75 |
### Contributors
|
76 |
|
77 |
-
Aayush Shah, Shankar Jayaratnam
|
78 |
-
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
base_model: meta-llama/Meta-Llama-3-8B
|
4 |
+
tags:
|
5 |
+
- biology
|
6 |
+
- medical
|
7 |
---
|
8 |
|
9 |
|
|
|
25 |
|
26 |
## Usage
|
27 |
|
28 |
+
To download and use the Protein-Llama-3 model for inference, follow these steps:
|
29 |
|
30 |
### Installation
|
31 |
|
|
|
40 |
Uncontrollable generation can be handled via prompting the model with the phrase 'Seq=<'.
|
41 |
|
42 |
```
|
43 |
+
generator = pipeline('text-generation', model="Esperanto/Protein-Llama-3-8B")
|
44 |
|
45 |
sequences = generator("Seq=<",temperature=0.2,
|
46 |
top_k=40,
|
|
|
60 |
Controllable generation can be done by prompting the model with '[Generate xxx protein] Seq=<'. Here, xxx can be any family from the 10 classes supported by this model.
|
61 |
|
62 |
```
|
63 |
+
generator = pipeline('text-generation', model="Esperanto/Protein-Llama-3-8B")
|
64 |
|
65 |
+
sequences = generator("[Generate Ligase enzyme protein] Seq=<",temperature=0.2,
|
66 |
top_k=40,
|
67 |
top_p=0.9,
|
68 |
do_sample=True,
|
|
|
77 |
|
78 |
### Contributors
|
79 |
|
80 |
+
Aayush Shah, Shankar Jayaratnam
|
|