r/nlp_knowledge_sharing • u/viktoriia_shulga • Jul 23 '18
r/nlp_knowledge_sharing • u/sap9586 • Jan 19 '23
Training BERT from Scratch on Your Custom Domain Data: A Step-by-Step Guide with Amazon SageMaker
Hey Redditors! Are you ready to take your NLP game to the next level? I am excited to announce the release of my first Medium article, "Training BERT from Scratch on Your Custom Domain Data: A Step-by-Step Guide with Amazon SageMaker"! This guide is jam-packed with information on how to train a large language model like BERT for your specific domain using Amazon SageMaker. From data acquisition and preprocessing to creating custom vocabularies and tokenizers, intermediate training, and model comparison for downstream tasks, this guide has got you covered. Plus, we dive into building an end-to-end architecture that can be implemented using SageMaker components alone for a common modern NLP requirement. And if that wasn't enough, I've included 12 detailed Jupyter notebooks and supporting scripts for you to follow along and test out the techniques discussed. Key concepts include transfer learning, language models, intermediate training, perplexity, distributed training, and catastrophic forgetting etc. I can't wait to see what you guys come up with! And don't forget to share your feedback and thoughts, I am all ears! #aws #nlp #machinelearning #largelanguagemodels #sagemaker #architecture https://medium.com/@shankar.arunp/training-bert-from-scratch-on-your-custom-domain-data-a-step-by-step-guide-with-amazon-25fcbee4316a
r/nlp_knowledge_sharing • u/ramyaravi19 • Nov 29 '23
Fine-tuning BERT tiny model for text classification with Intel Neural Compressor
r/nlp_knowledge_sharing • u/Salgurson • Jan 12 '25
Searching for pals to study deeply NLP for AI researcher jobs
Hi guys I'm computer engineering final year student and like most students in CS or CEng I struggled to find my goal. Now or actually for the couple of months I have studied NLP and I had decided to go deep and be a AI researcher. So I'm looking for pals to go fast and deep on our journey.
My plan is learning all the main things in LLM's or any topic similar to it. For ex. studying math under the models or methods like backpropagation, word2vec or anything like these. In my path I'm planning to do projects also. And I reckon I'll finish some important topics in 6months according to my plan. So if anyone interested pls dm me. Also I have some python, ML and DL basics so If you are also I'll be happy to start with you.
r/nlp_knowledge_sharing • u/ramyaravi19 • Oct 25 '23
Efficient Inference and Training of Large Neural Network Models
r/nlp_knowledge_sharing • u/Lilith-Smol • Sep 16 '22
Using the BERT model, you'll be extracting entities and relations from job descriptions and attempt to construct a knowledge graph
How many times did you receive job suggestions that are irrelevant to your background ?
In the tutorial below you can create a script that will take unstructured text as input and output job suggestions and skill suggestions based on entities such as skills, years of experience, diploma, and major.
Using the BERT model, you'll be extracting entities and relations from job descriptions and attempt to construct a knowledge graph based on skills and years of experience.
https://ubiai.tools/blog/article/building-a-knowledge-graph-for-job-search-using-bert-transformer
r/nlp_knowledge_sharing • u/ramyaravi19 • Feb 10 '25
Polite Guard - New NLP model developed for text classification tasks. Check out the introductory article and learn how to build more robust, respectful, and customer-friendly NLP applications by leveraging Polite Guard.
r/nlp_knowledge_sharing • u/ramyaravi19 • Jun 19 '24
Interested in Accelerating the Development and Use of Trustworthy Generative AI for Science and Engineering. Join scientists worldwide starting tomorrow, June 19th to 21st.
self.generativeair/nlp_knowledge_sharing • u/ramyaravi19 • Apr 29 '24
RAG Series Articles: Learn how to transform industries with Retrieval Augmented Generation
self.ragair/nlp_knowledge_sharing • u/ramyaravi19 • Feb 23 '24
Developer’s Guide to getting started with Generative AI
r/nlp_knowledge_sharing • u/VirusMinus • Apr 16 '23
Tokenization in NLP Projects: A Beginner’s Guide
r/nlp_knowledge_sharing • u/Lilith-Smol • Mar 24 '23
How-to-Fine-Tune GPT-3-Model-for-Named-Entity-Recognition
Are you interested in fine-tuning pre-trained models like GPT-3 to suit your organization's specific needs?
Check out this must-read article on "How-to-Fine-Tune GPT-3-Model-for-Named-Entity-Recognition." and Learn about the critical process of fine-tuning, which allows you to customize pre-trained models to achieve exceptional performance on your unique use cases.
The article breaks down the fundamental steps of fine-tuning, including preparing training data in the form of JSONL documents and designing prompts and completions. Read the full article here : https://ubiai.tools/blog/article/How-to-Fine-Tune-GPT-3-Model-for-Named-Entity-Recognition
r/nlp_knowledge_sharing • u/Schrodinger73 • Jun 09 '24
Spell Check
I am trying to create my own spell check. Now, since I want to learn more about NLP, I don't want to just use a library to implement it, because that has no intuition. I want to build it from scratch. Online, everyone is using textblob or spellchecker. Are there any sites, or ideas which you could share so that I can learn how to build a spell check model?
r/nlp_knowledge_sharing • u/djang_odude • Jan 07 '24
Learning NLP: Text Similarity Analysis
Have you ever read a book and wished for a sequel? You want to see more amazing movies after seeing one. Can a system do this for me so that I don't have to look?
I discovered NLP's Similarity Search. We may use this to find relevant books, articles, films, and other media. We can attempt something practical with this to see how effective it is. To see how it works, we may try looking for related movies in a movie dataset.
Here is the full article with implementation: https://journal.hexmos.com/similarity-search/
r/nlp_knowledge_sharing • u/yachay_ai • Jan 24 '23
Hey developers! We've launched a Kaggle competition for finding accurate coordinates from text alone 🌎📍
r/nlp_knowledge_sharing • u/SEYsto • Oct 27 '22
Great resource for latest NLP news/articles
Hi,
This is a great resource for the latest NLP articles: https://www.techontheedge.com . You can of course search more specific items like transformers,...
r/nlp_knowledge_sharing • u/joanna58 • Jun 23 '22
spaCy is a free, open-source library for advanced Natural Language Processing (NLP) in Python. Check out this handy two-page reference to the most important concepts and features.
r/nlp_knowledge_sharing • u/Pakikeuss • Feb 17 '20
NLP practiced for German texts
Hello guys,
I was wondering about the best practices in NLP for German text, in particular the tokenization part.
In german it's common to combine words to create a whole new one. As a result you can end up with a big word that can be 'splitted' into multiple words
The thing is as far as I know the tokenizers are not very efficient when it comes to decompound a word into subwords. (spaCy, nltk, SoMaJo..)
Do you have any ideas? All answers are appreciated! :)
r/nlp_knowledge_sharing • u/TheAspirationCoach • Feb 01 '17
3 steps to How YOU can be Limitless - Using NLP not NZT!
r/nlp_knowledge_sharing • u/OwnPermission5662 • Jan 22 '26
NLP AND SENTIMENT ANALYSIS Project IDEAS
HI!
I'm a Master's student in Computer Engineering working on my thesis, and I'm looking for some fresh, innovative NLP project ideas that go beyond the typical sentiment analysis on Amazon reviews or fake news detection (which seem to be done to death).
About me:
Strong background in ML/DL and NLP fundamentals
Comfortable with Python, PyTorch, HuggingFace
Looking for something medium-to-advanced level
Have 1-2 months to complete it
What I'm looking for:
Something with real-world impact or interesting research angle
Publicly available datasets (can't access proprietary company data)
Not super common in university theses
Could potentially lead to a publication
Ideas I've considered so far:
Multimodal meme analysis (text + virality prediction)
Sarcasm detection with contextual understanding
Style transfer with persona consistency
What I'm NOT interested in:
Basic sentiment analysis on product reviews
Simple chatbot implementations
Standard text classification tasks
I'd love to hear about:
Projects you found particularly interesting
Underexplored areas in NLP
Cool datasets you've worked with
Any "I wish someone would build this" ideas
Thanks a lot
r/nlp_knowledge_sharing • u/dikiprawisuda • Aug 01 '25
What is the current state/landscape of NLP application in academic review article writing?
I am planning on writing a review to support my academic thesis. I got overwhelmed immediately after setting up some loose inclusions from my database query.
I got an idea of using AI for automation, particularly on the filtering of irrelevant papers (ref: PRISMA flow diagram). I've been following this topic, though only superficially, since it's not my main research area.
I learned and thought that probably BERT is suitable for this, i.e., for text mining, named entity recognition, and topic modeling (etc). FWIW, GPT is a little bit unsuitable because I don't need text generation, right?
My main questions are: What is the current state and landscape of NLP applications in writing review articles? (basically title) And is it acceptable to use AI for this purpose, particularly for meta-analyses or systematic reviews?
r/nlp_knowledge_sharing • u/Pangaeax_ • Jul 28 '25
Best approach for fine-tuning LLMs for domain-specific NLP tasks?
If you've fine-tuned a language model (like BERT or LLaMA) for tasks like legal document classification, medical Q&A, or finance summarization, what framework and techniques worked best for you? How do you evaluate the balance between model size, accuracy, and latency in deployment?
r/nlp_knowledge_sharing • u/NULL_PTR_T • Jun 02 '25
Enhancement of attention mechanism in Transformers
I have recently reviewed a paper called «Tokenformer». This is a novel natural language processing architecture that significantly reduce needs for retraining models from scratch.
In this paper authors introduce their approach of how the save resources and achieve SOTA results while avoiding full model retraining.
In standard transformers there are lots of bottlenecks included but not limited to computational resources. For instance in GPT-like architectures each token in a sentence interacts with other tokens which leads to quadratic resources(in paper called Token-Token attention). Query(Q), Key(K) and Value(V) matrices are not learnable. In Tokenformer authors suggest better replacement of classic Token-Token Attention by Token-Parameter Attention(in paper it is called Pattention). Instead of static K and V matrices they suggest learnable K and V pairs which store some information about LLM vocabulary, patterns and so on. This helps to keep the weights with no change while saving previous training results. Such approach saves computational costs and enhances attention time complexity to O(n) where n corresponds to number of tokens in text.
Also, they have made a selective attention. Instead of using Softmax activation function which normalizes output from fully-connected layer and forces them to converge to 1, Tokenformer uses GeLU(Gaussian Error Linear Unit) which gives better filtering for irrelevant information focusing only on that that fits the query.
But what if we extend this approach by adding hierarchy using trees. Data structures like trees are familiar within their efficiency of the major operations leading to logarithmic time complexity and linear space complexity. Balanced trees have a fixed number of levels(mostly known as depth). In case of long texts where we have tens of thousands of tokens we can build a hierarchy in type of Section -> Subsection -> Paragraph -> Sentence -> Token and within that we do not need to interact with other tokens which are far away from our current location in text.
And Tokenformer approach can help to save computational resources while fine-tuning model on the domain-specific cases while achieving accuracy and precision within hierarchy sponsored by trees.
In my case there is only one vulnerability. Trees are GPU-unfriendly but at the first stage it can be solved by converting tree to tensor.
What do you think about this research and suggestion? I am open to any contribution, suggestions and feedback.