Instructions to use tangledgroup/tangled-alpha-0.11-core with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tangledgroup/tangled-alpha-0.11-core with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tangledgroup/tangled-alpha-0.11-core")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tangledgroup/tangled-alpha-0.11-core", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use tangledgroup/tangled-alpha-0.11-core with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tangledgroup/tangled-alpha-0.11-core" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tangledgroup/tangled-alpha-0.11-core", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/tangledgroup/tangled-alpha-0.11-core
- SGLang
How to use tangledgroup/tangled-alpha-0.11-core with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tangledgroup/tangled-alpha-0.11-core" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tangledgroup/tangled-alpha-0.11-core", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tangledgroup/tangled-alpha-0.11-core" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tangledgroup/tangled-alpha-0.11-core", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use tangledgroup/tangled-alpha-0.11-core with Docker Model Runner:
docker model run hf.co/tangledgroup/tangled-alpha-0.11-core
| core_base_datasets = [ | |
| # | |
| # general | |
| # | |
| # 3.35 GB, 1,000,000 - Curated RefinedWeb with medium context length (2048 <= ctx_len <= 8192) | |
| *[ | |
| {'kind': 'base', 'path': 'vilm/refinedweb-1m-medium', 'split': f'train[{i}%:{i + 5}%]', 'format': lambda n: n['text']} | |
| for i in range(0, 100, 5) | |
| ], | |
| # 4.01 GB, 1,360,929 | |
| *[ | |
| {'kind': 'base', 'path': 'deatos/fineweb-edu-mini-combined', 'split': f'train[{i}%:{i + 5}%]', 'format': lambda n: n['text']} | |
| for i in range(0, 100, 5) | |
| ], | |
| # | |
| # multilingual | |
| # | |
| # 3.17 GB, 2,226,907 | |
| *[ | |
| {'kind': 'base', 'path': 'ontocord/fineweb-permissive-multilingual-2m', 'split': f'train[{i}%:{i + 5}%]', 'format': lambda n: n['text']} | |
| for i in range(0, 100, 5) | |
| ], | |
| # 1.64 GB, 1,001,000 | |
| *[ | |
| {'kind': 'base', 'path': 'distily/c4_multilingual_1M', 'split': f'train[{i}%:{i + 5}%]', 'format': lambda n: n['text']} | |
| for i in range(0, 100, 5) | |
| ], | |
| # 742 MB, 321,697 | |
| *[ | |
| {'kind': 'base', 'path': 'data-silence/sumnews', 'split': split, 'format': lambda n: n[field]} | |
| for split in ['train', 'test'] | |
| for field in ['title', 'resume', 'news'] | |
| ], | |
| # 193 MB, 1,141,967 | |
| *[ | |
| {'kind': 'base', 'path': 'xu-song/cc100-samples', 'name': name, 'split': 'train', 'format': lambda n: n['text']} | |
| for name in [ | |
| 'am', 'ar', 'as', 'az', 'be', 'bg', 'bn', 'bn_rom', 'br', | |
| 'bs', 'ca', 'cs', 'cy', 'da', 'de', 'el', 'en', 'eo', 'es', | |
| 'et', 'eu', 'fa', 'ff', 'fi', 'fr', 'fy', 'ga', 'gd', 'gl', | |
| 'gn', 'gu', 'ha', 'he', 'hi', 'hi_rom', 'hr', 'ht', 'hu', | |
| 'hy', 'id', 'ig', 'is', 'it', 'ja', 'jv', 'ka', 'kk', 'km', | |
| 'kn', 'ko', 'ku', 'ky', 'la', 'lg', 'li', 'ln', 'lo', 'lt', | |
| 'lv', 'mg', 'mk', 'ml', 'mn', 'mr', 'ms', 'my', 'my_zaw', | |
| 'ne', 'nl', 'no', 'ns', 'om', 'or', 'pa', 'pl', 'ps', 'pt', | |
| 'qu', 'rm', 'ro', 'ru', 'sa', 'si', 'sc', 'sd', 'sk', 'sl', | |
| 'so', 'sq', 'sr', 'ss', 'su', 'sv', 'sw', 'ta', 'ta_rom', | |
| 'te', 'te_rom', 'th', 'tl', 'tn', 'tr', 'ug', 'uk', 'ur', | |
| 'ur_rom', 'uz', 'vi', 'wo', 'xh', 'yi', 'yo', | |
| 'zh-Hans', 'zh-Hant', 'zu', | |
| ] | |
| ], | |
| # | |
| # misc | |
| # | |
| # 472 KB, 5,034 | |
| {'kind': 'base', 'path': 'badrex/llm-emoji-dataset', 'format': '{short description}. {LLM description}. {character}'}, | |
| # | |
| # stem | |
| # | |
| # 12.2 MB, 500,000 | |
| {'kind': 'base', 'path': 'fblgit/simple-math', 'revision': 'refs/convert/parquet', 'split': 'train', 'format': '{instruction} = {output}'}, | |
| {'kind': 'base', 'path': 'fblgit/simple-math', 'revision': 'refs/convert/parquet', 'split': 'test', 'format': '{instruction} = {output}'}, | |
| # 125 MB, 1,000,000 | |
| {'kind': 'base', 'path': 'Gusarich/math-expressions-1m', 'revision': 'refs/convert/parquet', 'split': 'train', 'format': '{expression} = {result}'}, | |
| # 1.44 GB, 63,357 | |
| *[ | |
| {'kind': 'base', 'path': 'neuralwork/arxiver', 'split': f'train[{i}%:{i + 10}%]', 'format': lambda n: n['abstract']} | |
| for i in range(0, 100, 10) | |
| ], | |
| *[ | |
| {'kind': 'base', 'path': 'neuralwork/arxiver', 'split': f'train[{i}%:{i + 10}%]', 'format': lambda n: n['markdown']} | |
| for i in range(0, 100, 10) | |
| ], | |
| # | |
| # code | |
| # | |
| # 36.8 MB, 79,013 | |
| # Rosetta Code currently has 1,203 tasks, 389 draft tasks, and is aware of 883 languages | |
| {'kind': 'base', 'path': 'christopher/rosetta-code', 'format': lambda n: n['code']}, | |
| # 1.62 GB, 1,632,309 | |
| # Python, TypeScript, JavaScript, Ruby, Julia, Rust, C++, Bash, Java, C#, and Go; SQL, Cypher | |
| *[ | |
| {'kind': 'base', 'path': 'nampdn-ai/tiny-codes', 'split': f'train[{i}%:{i + 10}%]', 'format': '{prompt} {response}'} | |
| for i in range(0, 100, 10) | |
| ], | |
| # | |
| # math / code | |
| # | |
| # 2.23 GB, 719,244 | |
| *[ | |
| {'kind': 'base', 'path': 'MathGenie/MathCode-Pile', 'split': f'train[{i}%:{i + 10}%]', 'format': lambda n: n['text']} | |
| for i in range(0, 100, 10) | |
| ], | |
| # | |
| # general knowledge | |
| # | |
| # 3.18 GB, 1,010,500 - uncompressed 6GB | |
| *[ | |
| {'kind': 'base', 'path': 'JeanKaddour/minipile', 'split': f'train[{i}%:{i + 5}%]', 'format': lambda n: n['text']} | |
| for i in range(0, 100, 5) | |
| ], | |
| {'kind': 'base', 'path': 'JeanKaddour/minipile', 'split': 'validation', 'format': lambda n: n['text']}, | |
| {'kind': 'base', 'path': 'JeanKaddour/minipile', 'split': 'test', 'format': lambda n: n['text']}, | |
| ] | |