Token Classification
GLiNER
PyTorch
English

Run this model with HF Jobs

Run urchade/gliner_base 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/urchade/gliner_base. 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/urchade/gliner_base 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.

Error, can't resolve

#6
by tshroveOntelio - opened

I'm getting an error and I cannot resolve. Exception has occurred: TypeError X - load_state_dict) got an unexpected keyword argument 'assign'

Screenshot 2024-03-15 at 9.38.04 PM.png

Any ideas. I've tried copying and pasting exact code. I've tried all the different model sizes.

you can modify your code and remove the assign keyword, or update transformer version
similar error: https://github.com/urchade/GLiNER/issues/7

Sign up or log in to comment