marjanfaizi commited on
Commit
01bd910
·
verified ·
1 Parent(s): 92a84de

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +8 -19
README.md CHANGED
@@ -7,33 +7,22 @@ tags:
7
  pipeline_tag: translation
8
  ---
9
 
10
- # Trias-Small: a compact variant of Trias for codon generation
11
 
12
- Trias-Small is a lightweight version of [**Trias**](https://huggingface.co/lareaulab/Trias),
13
  the encoder-decoder model that reverse-translates protein sequences into codon
14
- sequences. It shares the same tokenizer and overall architecture family as Trias,
15
- but is roughly half the width (~12M vs ~46M parameters), making it faster and
16
- cheaper to run.
17
 
18
  For full setup, decoding options (greedy / beam search), and citation, see the
19
  main [**lareaulab/Trias**](https://huggingface.co/lareaulab/Trias) model card.
20
  This card only documents what differs.
21
 
22
- ## Key differences from Trias
23
 
24
- | | Trias | Trias-Small |
25
- |---|---|---|
26
- | parameters | ~46M | ~12M |
27
- | `d_model` | 512 | 256 |
28
- | attention heads | 8 | 4 |
29
- | FFN dim | 2048 | 1024 |
30
- | encoder / decoder layers | 6 / 6 | 6 / 6 |
31
- | weights (`model.safetensors`) | ~186 MB | ~49 MB |
32
- | **species tag in input** | **required** | **not used** |
33
-
34
- The most important difference for usage: **Trias-Small does not take a species
35
- tag.** The input is the bare protein sequence — there is no `>>{species}<<`
36
- prefix.
37
 
38
  ## Reverse Translation
39
 
 
7
  pipeline_tag: translation
8
  ---
9
 
10
+ # Trias-Small: a mammalian variant of Trias for codon generation
11
 
12
+ Trias-Small is a variant of [**Trias**](https://huggingface.co/lareaulab/Trias),
13
  the encoder-decoder model that reverse-translates protein sequences into codon
14
+ sequences. Unlike Trias, which was trained on vertebrate mRNA sequences across
15
+ many species, **Trias-Small was trained only on mammalian coding sequences** —
16
+ so it does not take a species tag as input.
17
 
18
  For full setup, decoding options (greedy / beam search), and citation, see the
19
  main [**lareaulab/Trias**](https://huggingface.co/lareaulab/Trias) model card.
20
  This card only documents what differs.
21
 
22
+ ## Key difference from Trias
23
 
24
+ Because it is trained on mammalian sequences alone, Trias-Small takes the bare
25
+ protein sequence as input — there is no `>>{species}<<` prefix.
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  ## Reverse Translation
28