Instructions to use SkywalkerLu/TransHLA_II with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SkywalkerLu/TransHLA_II with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SkywalkerLu/TransHLA_II", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SkywalkerLu/TransHLA_II", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ The second output is the sequence embedding generated by the model.
|
|
| 20 |
For both models, we have written separate tutorials in this file to facilitate ease of use.
|
| 21 |
|
| 22 |
### How to use
|
| 23 |
-
First, users need download
|
| 24 |
```
|
| 25 |
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
| 26 |
pip install transformers
|
|
|
|
| 20 |
For both models, we have written separate tutorials in this file to facilitate ease of use.
|
| 21 |
|
| 22 |
### How to use
|
| 23 |
+
First, users need to download the following packages: `pytorch`, `fair-esm`, and `transformers`. Additionally, the CUDA version must be 11.8 or higher; otherwise, the model will need to be run on CPU.
|
| 24 |
```
|
| 25 |
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
| 26 |
pip install transformers
|