This model is a fine-tuned version of distilbert/distilgpt2 on the tsilva/clinical-field-mappings dataset.
Its purpose is to normalize healthcare database column names to a standardized set of target column names.
This is a causal language model designed to map free-text field names to standardized schema terms.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("tsilva/clinical-field-mapper-causal_lm") model = AutoModelForCausalLM.from_pretrained("tsilva/clinical-field-mapper-causal_lm")
def predict(input_text): inputs = tokenizer(input_text + "|", return_tensors="pt") outputs = model.generate(**inputs, max_new_tokens=50) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
predict('cardi@')
Specify your license here (e.g., Apache 2.0, MIT, etc.)
Have the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo tsilva/clinical-field-mapper-causal_lm ./model-folderonnx/model.onnx 328 MBmodel.safetensors 241 MBtraining_args.bin 7.4 kBmradermacher/clinical-field-mapper-causal_lm-i1-GGUF Magnet 1