Instructions to use CCTD/LLM_Regression_Test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CCTD/LLM_Regression_Test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CCTD/LLM_Regression_Test")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("CCTD/LLM_Regression_Test") model = AutoModelForSequenceClassification.from_pretrained("CCTD/LLM_Regression_Test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse files- README.md +3 -3
- config.json +1 -1
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
-
inference:
|
| 3 |
-
parameters:
|
| 4 |
-
function_to_apply: "none"
|
| 5 |
library_name: transformers
|
| 6 |
tags: []
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# Model Card for Model ID
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
tags: []
|
| 4 |
+
inference:
|
| 5 |
+
parameters:
|
| 6 |
+
function_to_apply: none
|
| 7 |
---
|
| 8 |
|
| 9 |
# Model Card for Model ID
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "llm_regression_test_1label_1epoch_32_32/checkpoint-5",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "llm_regression_test_1label_1epoch_32_32-2/checkpoint-5",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 433267692
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:008479c72c776e210f6e886982cea063f7b341be50610998c3db8981a18eb4f7
|
| 3 |
size 433267692
|