Downloads · 30 days
11
15% of all-time downloads
ibm-research/demo-hf-model-test
demo-hf-model-test is a text classification model from ibm-research. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This is a test model created for experimental upload testing to Hugging Face using dmf-ng.
Downloads · 30 days
11
15% of all-time downloads
All-time downloads
75
Public
Repo size
170 B
Likes
1
Public
Click a slice to open those files.
.md3.6 KB · 54%
From the Hugging Face model README
This is a test model created for experimental upload testing to Hugging Face using dmf-ng.
A minimal BERT model for testing artifact upload workflows with dmf-ng to Hugging Face Hub.
{
"model_type": "bert",
"hidden_size": 768,
"num_hidden_layers": 12,
"num_attention_heads": 12,
"intermediate_size": 3072,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"attention_probs_dropout_prob": 0.1,
"max_position_embeddings": 512,
"type_vocab_size": 2,
"initializer_range": 0.02,
"layer_norm_eps": 1e-12,
"pad_token_id": 0
}
This model is for testing purposes only and should not be used for actual inference or production workloads.
This is a dummy model created for testing purposes and does not represent a real, trained model. It has not been trained on any data and produces random outputs.
None - this model was generated as test data.
Not applicable - this is a test model.
Minimal environmental impact - this is a test model used only for software development and testing.
from transformers import AutoTokenizer, AutoModelForMaskedLM
model_id = "your-username/test-model"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForMaskedLM.from_pretrained(model_id)
# This model is not trained, so outputs are random
inputs = tokenizer("Hello, world!", return_tensors="pt")
outputs = model(**inputs)
For issues related to this test model, please open an issue on the dmf-ng repository.
Note: This is a test artifact. For production models, ensure comprehensive model cards with real training data, evaluation metrics, and bias analysis.