Instructions to use Invalid-Null/PeiYangMe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Invalid-Null/PeiYangMe with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Invalid-Null/PeiYangMe")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Invalid-Null/PeiYangMe") model = AutoModelForCausalLM.from_pretrained("Invalid-Null/PeiYangMe", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Invalid-Null/PeiYangMe with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Invalid-Null/PeiYangMe" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Invalid-Null/PeiYangMe", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Invalid-Null/PeiYangMe
- SGLang
How to use Invalid-Null/PeiYangMe 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 "Invalid-Null/PeiYangMe" \ --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": "Invalid-Null/PeiYangMe", "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 "Invalid-Null/PeiYangMe" \ --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": "Invalid-Null/PeiYangMe", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Invalid-Null/PeiYangMe with Docker Model Runner:
docker model run hf.co/Invalid-Null/PeiYangMe
|
Download README.md from Invalid-Null/PeiYangMe: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/Invalid-Null/PeiYangMe/resolve/main/README.md
- Command line
-
hf download hf://Invalid-Null/PeiYangMe/README.md
-
curl -L -o README.md https://huggingface.co/Invalid-Null/PeiYangMe/resolve/main/README.md
1.83 kB
| license: apache-2.0 | |
| language: | |
| - zh | |
| - en | |
| base_model: | |
| - 01-ai/Yi-1.5-6B | |
| new_version: Invalid-Null/PeiYangMe | |
| pipeline_tag: text-generation | |
| library_name: transformers | |
| tags: | |
| - chemistry | |
| # 北洋微衍V0.9/PeiYang MicroEmergence-0.9 | |
| ## 模型曾用名 / Model Name History | |
| 此模型在开发过程中经历了以下命名阶段: | |
| This model has gone through the following naming stages during development: | |
| * 早期阶段 / Initial Stage: | |
| Invalid-Null/Non-Null | |
| * 发展阶段 / Development Stage: | |
| 天津大学/北洋微衍 (Tianjin University/Peiyang MicroDerivation) | |
| * 当前版本 / Current Release: | |
| 天津大学/北洋微衍 (Tianjin University/Peiyang MicroEmergence) | |
| ## 模型概述 / Model Overview | |
| 本模型专注于计算催化领域,特别是丙烷脱氢(PDH)过程。 | |
| This model focuses on computational catalysis, specifically designed for propane dehydrogenation (PDH) processes. | |
| ## 技术基础 / Technical Foundation | |
| * 基础框架 / Base Framework: | |
| 基于ModelScope的ms-swift框架开发 | |
| Developed using ModelScope's ms-swift framework | |
| * 基础模型 / Base Model: | |
| 基于零一万物的Yi系列6B模型训练,包括yi-6B、yi-6B-chat、yi-1.5-6B、yi-1.5-6B-chat | |
| Fine-tuned on 01.AI's Yi-6B series model, including yi-6B, yi-6B-chat, yi-1.5-6B and yi-1.5-6B-chat | |
| ## 当前状态 / Current Status | |
| 详细的技术规格和性能指标将在相关研究论文发表后提供。 | |
| Detailed technical specifications and performance metrics will be available upon publication of our research paper. | |
| ## 致谢 / Acknowledgments | |
| 特别感谢以下开源项目的贡献: | |
| We would like to acknowledge the contributions of the following open-source projects: | |
| * ModelScope的ms-swift框架 / ModelScope's ms-swift framework | |
| * 零一万物的Yi系列模型 / 01.AI's Yi series models | |