Text Classification
Transformers
Safetensors
English
roberta
reward model
alignment
preference model
RLHF
text-embeddings-inference
Instructions to use nicholasKluge/Harmless-RewardModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nicholasKluge/Harmless-RewardModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nicholasKluge/Harmless-RewardModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nicholasKluge/Harmless-RewardModel") model = AutoModelForSequenceClassification.from_pretrained("nicholasKluge/Harmless-RewardModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download emissions.csv from nicholasKluge/Harmless-RewardModel: direct link, hf CLI and curl.
- Browser
- Download file 770 Bytes
-
https://huggingface.co/nicholasKluge/Harmless-RewardModel/resolve/main/emissions.csv
- Command line
-
hf download hf://nicholasKluge/Harmless-RewardModel/emissions.csv
-
curl -L -o emissions.csv https://huggingface.co/nicholasKluge/Harmless-RewardModel/resolve/main/emissions.csv
770 Bytes
| timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue | |
| 2024-05-27T10:49:55,codecarbon,2392f828-03ad-49cb-b6b3-9993a7a1ca3f,4251.8744423389435,0.22799894330652132,5.3623159949450384e-05,42.5,163.0812527545463,31.303894042968754,0.05019565398444728,0.379311540115656,0.03696294718478423,0.46647014128488834,Singapore,SGP,,,,Linux-6.1.85+-x86_64-with-glibc2.35,3.10.12,2.4.2,12,Intel(R) Xeon(R) CPU @ 2.20GHz,1,1 x NVIDIA A100-SXM4-40GB,103.8503,1.2868,83.47705078125,machine,N,1.0 | |