SkywalkerLu commited on
Commit
a18517c
·
verified ·
1 Parent(s): 7285f3b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -0
README.md CHANGED
@@ -29,6 +29,9 @@ pip install torch transformers peft
29
  ```
30
  ## Usage (Transformers)
31
  ```python
 
 
 
32
  model_id = "SkywalkerLu/TransHLA2.0-BIND"
33
  model = AutoModel.from_pretrained(model_id, trust_remote_code=True).to(device).eval()
34
  ```
 
29
  ```
30
  ## Usage (Transformers)
31
  ```python
32
+ import torch
33
+ import torch.nn.functional as F
34
+ from transformers import AutoModel, AutoTokenizer
35
  model_id = "SkywalkerLu/TransHLA2.0-BIND"
36
  model = AutoModel.from_pretrained(model_id, trust_remote_code=True).to(device).eval()
37
  ```