Skip to main content

NLP Collective

A collective focused on NLP (natural language processing), the transformation or extraction of useful information from natural language data.
Contact

Pinned content

View all 2 collections

NLP admins have deemed these posts noteworthy.

Pinned
9 votes
2k views
Collection

Natural Language Processing FAQ

Frequently asked questions relating to NLP. Many of these may be questions that are often asked over and over, duplicates would likely be closed in favor of these. Add the best answer (using the ...
Berthold's user avatar
  • 101

Can you answer these questions?

View all unanswered questions

These questions still don't have an answer

0 votes
0 answers
22 views

Training and validation losses do not reduce when fine-tuning ViTPose from huggingface

I am trying to fine-tune a transformer/encoder based pose estimation model available here at: https://huggingface.co/docs/transformers/en/model_doc/vitpose When passing "labels" attribute to ...
0 votes
0 answers
26 views

Natural language to JSON for N8N workflows

We’re in the early stages of designing a system that converts natural language descriptions of automation workflows into structured JSON outputs, specifically for n8n workflows. The final JSON will be ...
1 vote
0 answers
30 views

Not able to generate output on certain reviews by using fine-tune model

I'm using T5, a text-to-text model for performing spell checks in a given dataset consisting of reviews. The model is fine-tuned in 2 iterations of 20k reviews and 40k reviews each. The training loss ...
0 votes
0 answers
19 views

Tokenize and pad text sequences using TensorFlow for NLP classification

I'm working on a text classification problem using TensorFlow and NLP. I'm using the Tokenizer and pad_sequences utilities from tensorflow.keras.preprocessing.text. However, I'm encountering issues ...
1 vote
0 answers
33 views

How to safely cancel a running Hugging Face text generation mid-inference without restarting the whole server?

When running large models with Hugging Face's generate() function, if a user decides to cancel a request (e.g., UI "stop" button), the server has no way to interrupt an ongoing generate() ...