Instructions to use StepControlled/InternLM-20B-SCDPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use StepControlled/InternLM-20B-SCDPO with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="StepControlled/InternLM-20B-SCDPO", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("StepControlled/InternLM-20B-SCDPO", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 2.0, | |
| "train_loss": 0.2711078498627443, | |
| "train_runtime": 49070.973, | |
| "train_samples": 88135, | |
| "train_samples_per_second": 3.592, | |
| "train_steps_per_second": 0.112 | |
| } |