Run this model with HF Jobs
Run Skywork/Skywork-13B-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/Skywork/Skywork-13B-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Skywork/Skywork-13B-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/Skywork/Skywork-13B-base. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/Skywork/Skywork-13B-base. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use Skywork/Skywork-13B-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Skywork/Skywork-13B-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Skywork/Skywork-13B-base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Skywork/Skywork-13B-base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Skywork/Skywork-13B-base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Skywork/Skywork-13B-base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Skywork/Skywork-13B-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Skywork/Skywork-13B-base
- SGLang
How to use Skywork/Skywork-13B-base 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 "Skywork/Skywork-13B-base" \ --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": "Skywork/Skywork-13B-base", "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 "Skywork/Skywork-13B-base" \ --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": "Skywork/Skywork-13B-base", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Skywork/Skywork-13B-base with Docker Model Runner:
docker model run hf.co/Skywork/Skywork-13B-base
Update README.md
Browse files12 unmodified lines1314151617181920 unmodified lines40414243444546474849105 unmodified lines1551561571581591601612 unmodified lines164165166167168169170171172158 unmodified lines33133233333433533633733833934012 unmodified lines<div align="center"><img src="misc/skywork_logo.jpeg" width="550"/></div><p align="center">🤗 <a href="https://huggingface.co/Skywork" target="_blank">Hugging Face</a> • 🤖 <a href="https://modelscope.cn/organization/Skywork" target="_blank">ModelScope</a> • 💬 <a href="https://github.com/SkyworkAI/Skywork/blob/main/misc/wechat.png?raw=true" target="_blank">WeChat</a>• 📜<a href="https://arxiv.org/" target="_blank">Tech Report</a>• 🧮<a href="https://arxiv.org/" target="_blank">Skymath Paper</a></p>20 unmodified lines**Skywork-13B-Base**: The model was trained on a high-quality cleaned dataset consisting of 3.2 trillion multilingual data (mainly Chinese and English) and code. It has demonstrated the best performance among models of similar scale in various evaluations and benchmark tests.如果您希望了解更多的信息,如训练方案,评估方法,请参考我们的[技术报告](https://arxiv.org/skywork-tech-report)和[Skywork-Math](https://arxiv.org/skywork-tech-report)论文。If you are interested in more training and evaluation details, please refer to our [technical report](https://arxiv.org/skywork-tech-report) and [Skywork-Math]((https://arxiv.org/skywork-tech-report)) paper.## 训练数据(Training Data)我们精心搭建了数据清洗流程对文本中的低质量数据、有害信息、敏感信息进行清洗过滤。我们的Skywork-13B-Base模型是在清洗后的3.2TB高质量中、英、代码数据上进行训练,其中英文占比52.2%,中文占比39.6%,代码占比8%,在兼顾中文和英文上的表现的同时,代码能力也能有保证。105 unmodified lines| XVERSE-13B-Base | 54.7 | - | 55.1 | - || Baichuan-13B-Base | 52.4 | 55.3 | 51.6 | 26.6 || Baichuan-2-13B-Base | 58.1 | 62.0 | 59.2 | 52.3 || Skywork-13B-Base (ours) | 59.5 | 61.6 | 61.6 | 55.8 |## Benchmark评估详细结果我们给出**Skywork-13B-Base**模型在C-Eval,CMMLU,MMLU上模型的详细结果。2 unmodified lines| Benchmark | **STEM** | **Humanities** | **Social Science** | **Other** | **China Specific** | **Hard** | **Average** ||:-----:|:---------:|:--------:|:-------------:|:--------:|:--------:|:--------:|:--------:|| **C-EVAL** | 51.5 | 65.1 | 73.9 | 55.1 | - | 39.9 | 59.5 || **CMMLU** | 49.8 | 68.9 | 65.6 | 62.8 | 63.7 | - | 61.6 || **MMLU** | 50.6 | 57.8 | 71.9 | 68.3 | - | - | 61.6 |# 快速开始(Quickstart)158 unmodified lines```@article{skyworkmath,title={},author={},journal={arXiv preprint arXiv:},year={2023}}```12 unmodified lines13141516171819202120 unmodified lines42434445464748495051105 unmodified lines1571581591601611621631642 unmodified lines167168169170171172173174175158 unmodified lines33433533633733833934034134234334434534634734834935035135235335435512 unmodified lines<div align="center"><img src="misc/skywork_logo.jpeg" width="550"/></div><p align="center">👨💻 <a href="https://github.com/SkyworkAI/Skywork" target="_blank">Github</a> • 🤗 <a href="https://huggingface.co/Skywork" target="_blank">Hugging Face</a>• 🤖 <a href="https://modelscope.cn/organization/Skywork" target="_blank">ModelScope</a> • 💬 <a href="https://github.com/SkyworkAI/Skywork/blob/main/misc/wechat.png?raw=true" target="_blank">WeChat</a>• 📜<a href="https://arxiv.org/" target="_blank">Tech Report</a>• 🧮<a href="https://arxiv.org/" target="_blank">Skymath Paper</a>• 🖼️<a href="https://github.com/will-singularity/Skywork-MM/blob/main/skywork_mm.pdf" target="_blank">SkyworkMM Paper</a></p>20 unmodified lines**Skywork-13B-Base**: The model was trained on a high-quality cleaned dataset consisting of 3.2 trillion multilingual data (mainly Chinese and English) and code. It has demonstrated the best performance among models of similar scale in various evaluations and benchmark tests.如果您希望了解更多的信息,如训练方案,评估方法,请参考我们的[技术报告](https://arxiv.org/skywork-tech-report),[Skymath](https://arxiv.org/abs/2310.16713)论文,[SkyworkMM](https://github.com/will-singularity/Skywork-MM/blob/main/skywork_mm.pdf)论文。If you are interested in more training and evaluation details, please refer to our [technical report](https://arxiv.org/skywork-tech-report), [Skymath]((https://arxiv.org/skywork-tech-report)) paper and [SkyworkMM](https://github.com/will-singularity/Skywork-MM/blob/main/skywork_mm.pdf) paper.## 训练数据(Training Data)我们精心搭建了数据清洗流程对文本中的低质量数据、有害信息、敏感信息进行清洗过滤。我们的Skywork-13B-Base模型是在清洗后的3.2TB高质量中、英、代码数据上进行训练,其中英文占比52.2%,中文占比39.6%,代码占比8%,在兼顾中文和英文上的表现的同时,代码能力也能有保证。105 unmodified lines| XVERSE-13B-Base | 54.7 | - | 55.1 | - || Baichuan-13B-Base | 52.4 | 55.3 | 51.6 | 26.6 || Baichuan-2-13B-Base | 58.1 | 62.0 | 59.2 | 52.3 || Skywork-13B-Base (ours) | 60.6 | 61.8 | 62.1 | 55.8 |## Benchmark评估详细结果我们给出**Skywork-13B-Base**模型在C-Eval,CMMLU,MMLU上模型的详细结果。2 unmodified lines| Benchmark | **STEM** | **Humanities** | **Social Science** | **Other** | **China Specific** | **Hard** | **Average** ||:-----:|:---------:|:--------:|:-------------:|:--------:|:--------:|:--------:|:--------:|| **C-EVAL** | 51.2 | 67.8 | 74.6 | 57.5 | - | 39.4 | 60.6 || **CMMLU** | 49.5 | 69.3 | 65.9 | 63.3 | 64.2 | - | 61.8 || **MMLU** | 51.6 | 58.0 | 72.5 | 68.8 | - | - | 62.1 |# 快速开始(Quickstart)158 unmodified lines```@article{skyworkmath,title={SkyMath: Technical Report},author={Liu Yang, Haihua Yang, Wenjun Cheng, Lei Lin, Chenxia Li, Yifu Chen, Lunan Liu, Jianfei Pan, Tianwen Wei, Biye Li, Liang Zhao, Lijie Wang, Bo Zhu, Guoliang Li, Xuejie Wu, Xilin Luo, Rui Hu},journal={arXiv preprint arXiv: 2310.16713},url={https://arxiv.org/abs/2309.10305},year={2023}}``````@article{Skywork_Multi-Modal_Group_Empirical_Study_Towards_2023,author = {Skywork Multi-Modal Group},month = sep,title = {{Empirical Study Towards Building An Effective Multi-Modal Large Language Model}},year = {2023}}```
README.md+25-10