Gen-AI Developer Classroom notes 08/Apr/2025

NLP (Natural Language Processing)

  • Basic Tasks:
    • Sentiment Analysis
    • Summarizations
    • Question Answering
    • NER

Hugging Face

  • Account Creation
  • Hugging face transformers are based on deep learning and to run deep learning models, we need to install
    • torch
    • Tensorflow
  • Running Python code
    • Locally
    • Google Colab
  • Basic coding approach
    • Create a pipeline
    • proceed with some nlp task

Simple Setup of a sentiment analysis using hugging face – local

pip install tensorflow

Simple Setup of a sentiment analysis using hugging face – Google Colab

[
    'audio-classification', 'automatic-speech-recognition', 'depth-estimation', 
'document-question-answering', 
'feature-extraction', 
'fill-mask', 
'image-classification', 'image-feature-extraction', 'image-segmentation', 'image-text-to-text', 'image-to-image', 'image-to-text', 'mask-generation', 'ner', 'object-detection', 'question-answering', 'sentiment-analysis', 
'summarization', 'table-question-answering', 'text-classification', 'text-generation', 'text-to-audio', 'text-to-speech', 'text2text-generation', 'token-classification', 'translation', 'video-classification', 'visual-question-answering', 'vqa', 'zero-shot-audio-classification', 'zero-shot-classification', 'zero-shot-image-classification', 'zero-shot-object-detection', 'translation_XX_to_YY'
]

Lets do Summarization.

By continuous learner

enthusiastic technology learner

Leave a Reply

Discover more from Direct AI Powered By Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading