Run this model with HF Jobs
Run copper-light/test-model 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 to fine-tune https://huggingface.co/copper-light/test-model. 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/copper-light/test-model 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.
Instructions to use copper-light/test-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use copper-light/test-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="copper-light/test-model", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("copper-light/test-model", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
554e383
1
Parent(s): c580b09
update: autoclass
Browse filesFiles changed (6)
123456{"input_dim": 4,"model_type": "test_model","output_dim": 16,"transformers_version": "4.54.1"}123456{"input_dim": 4,"model_type": "copperlight/test-model","output_dim": 16,"transformers_version": "4.54.1"}
1 unmodified line23456781 unmodified linefrom torch import nnclass TestConfig(PretrainedConfig):model_type = "test_model"def __init__(self, input_dim=4, output_dim=16, **kwargs):super().__init__(**kwargs)1 unmodified line23456781 unmodified linefrom torch import nnclass TestConfig(PretrainedConfig):model_type = "copperlight/test-model"def __init__(self, input_dim=4, output_dim=16, **kwargs):super().__init__(**kwargs)
2 unmodified lines34567892 unmodified lines"TestModel"],"input_dim": 4,"model_type": "test_model","output_dim": 16,"torch_dtype": "float32","transformers_version": "4.54.1"2 unmodified lines34567892 unmodified lines"TestModel"],"input_dim": 4,"model_type": "copperlight/test-model","output_dim": 16,"torch_dtype": "float32","transformers_version": "4.54.1"
123version https://git-lfs.github.com/spec/v1oid sha256:4d309df6d7ad88e731d193ac5329b87ea597b1175a8b0ba7b33ba05d15821fb7size 496123version https://git-lfs.github.com/spec/v1oid sha256:829c8d7855132961e13f97016f8d650b346b4945ba34d9680798c74c90de5fffsize 496
12345678910111213141516171819{ "cells": [ { "cell_type": "code", "execution_count": null, "id": "8ce5e1b0", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 5}__pycache__/model.cpython-313.pyc
config.json/config.json+1-1
model.py+1-1
pytorch_model.bin/config.json+1-1
pytorch_model.bin/model.safetensors+1-1
test.ipynbAdded+19