Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Oct 9, 2023
1 parent 76df402 commit 5e218b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ GPT for proteins sequences

# Usage
```python
from progen_torch import ProGen
import torch
from progen.model import ProGen

x = torch.randint(0, 100, (1, 1024))
model = ProGenBase(num_tokens=100, dim=512, seq_len=1024, depth=6)
model = ProGen(num_tokens=100, dim=512, seq_len=1024, depth=6)
outputs = model(x)
print(outputs)


```

# Architecture
Expand Down
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
x = torch.randint(0, 100, (1, 1024))
model = ProGen(num_tokens=100, dim=512, seq_len=1024, depth=6)
outputs = model(x)
print(outputs)
print(outputs)

0 comments on commit 5e218b1

Please sign in to comment.