Instructions to use flair-bio/amplify-c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flair-bio/amplify-c with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="flair-bio/amplify-c", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("flair-bio/amplify-c", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_": "AMPLIFY", | |
| "ambiguous_token_ids": [ | |
| 1, | |
| 6, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 11 | |
| ], | |
| "architectures": [ | |
| "AMPLIFY" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "amplify.AMPLIFYConfig", | |
| "AutoModel": "amplify.AMPLIFY" | |
| }, | |
| "base_scale": 0.03227486121839514, | |
| "bos_token_id": 3, | |
| "decoder_init_range": 0.02, | |
| "dtype": "float32", | |
| "embedding_init_range": 0.02, | |
| "eos_token_id": 4, | |
| "hidden_size": 960, | |
| "intermediate_size": 3840, | |
| "mask_token_id": 2, | |
| "max_length": 2048, | |
| "max_protein_length": 50000, | |
| "model_type": "AMPLIFY", | |
| "norm_eps": 1e-05, | |
| "normalized_transformer": false, | |
| "num_attention_heads": 15, | |
| "num_hidden_layers": 32, | |
| "other_special_token_ids": null, | |
| "pad_token_id": 0, | |
| "remove_ambiguous": true, | |
| "transformers_version": "5.14.1", | |
| "unk_token_id": 1, | |
| "vocab_path": "/home/mila/l/lola.lebreton/AMPLIFY-private/conf/tokenizer/amplify_vocab.txt", | |
| "vocab_size": 32 | |
| } | |