Install with the local extra; tag as text-classification

#3
by bkinge - opened

The Install section says pip install gliner2, but the base profile is torch-free and the next line imports AutoExtractor, which fails without the local extra (see the install section in the GLiNER2 README). Also switch pipeline_tag from token-classification to text-classification so the Hub lists this classification checkpoint under the task it serves.

fastino org

Thanks for the catch. I checked the install point against the GLiNER2 README: plain pip install gliner2 is torch-free and needs the local extra, so the install line is right.

I'd hold the rest of this PR. main has moved since it was opened, and merging it as-is would also revert recent deliberate changes: library_name: transformers, pipeline_tag: schema-extraction, the decision-model tag, and the agent.fastino.ai banner links.

I opened #8 with only the install-line change, on current main. If you want the pipeline_tag or banner changes, they're worth proposing separately so the model owners can decide on each.

Cannot merge
This branch has merge conflicts in the following files:
  • README.md

Sign up or log in to comment