Feature Extraction
Transformers
PyTorch
scaling_law_forecaster
scaling-laws
neural-scaling
performance-prediction
configuration-to-performance
custom_code
Instructions to use OptimizerStudy/NCPL-intermediate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OptimizerStudy/NCPL-intermediate with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="OptimizerStudy/NCPL-intermediate", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OptimizerStudy/NCPL-intermediate", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -53,10 +53,13 @@ The model was trained on:
|
|
| 53 |
|
| 54 |
## Usage
|
| 55 |
|
|
|
|
|
|
|
| 56 |
```python
|
| 57 |
import torch
|
| 58 |
from transformers import AutoTokenizer
|
| 59 |
-
|
|
|
|
| 60 |
|
| 61 |
# Load model
|
| 62 |
model = ScalingLawForecaster(
|
|
|
|
| 53 |
|
| 54 |
## Usage
|
| 55 |
|
| 56 |
+
The `ScalingLawForecaster` class can be found in the [GitHub repository](https://github.com/zhqwqwq/Configuration-to-Performance-Scaling-Law).
|
| 57 |
+
|
| 58 |
```python
|
| 59 |
import torch
|
| 60 |
from transformers import AutoTokenizer
|
| 61 |
+
# Get ScalingLawForecaster from: https://github.com/zhqwqwq/Configuration-to-Performance-Scaling-Law
|
| 62 |
+
from model import ScalingLawForecaster
|
| 63 |
|
| 64 |
# Load model
|
| 65 |
model = ScalingLawForecaster(
|