Instructions to use yang-ai-lab/SleepLM-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use yang-ai-lab/SleepLM-Base with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:yang-ai-lab/SleepLM-Base') tokenizer = open_clip.get_tokenizer('hf-hub:yang-ai-lab/SleepLM-Base') - Notebooks
- Google Colab
- Kaggle
Add requirements.txt
Browse files- requirements.txt +5 -0
requirements.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch>=2.0
|
| 2 |
+
transformers
|
| 3 |
+
ftfy
|
| 4 |
+
regex
|
| 5 |
+
numpy
|