<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Muhammad ammar on Medium]]></title>
        <description><![CDATA[Stories by Muhammad ammar on Medium]]></description>
        <link>https://medium.com/@is-ammar-1?source=rss-65c76467bde6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CXHXb6pjJDGXUQkbhRPSqw.jpeg</url>
            <title>Stories by Muhammad ammar on Medium</title>
            <link>https://medium.com/@is-ammar-1?source=rss-65c76467bde6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 17:23:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@is-ammar-1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Blind Spot of AI: Why You Shouldn’t Trust ChatGPT’s Web Recommendations]]></title>
            <link>https://is-ammar-1.medium.com/the-blind-spot-of-ai-why-you-shouldnt-trust-chatgpt-s-web-recommendations-8936c2248e3b?source=rss-65c76467bde6------2</link>
            <guid isPermaLink="false">https://medium.com/p/8936c2248e3b</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <category><![CDATA[ai-recommendation]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Muhammad ammar]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 11:49:01 GMT</pubDate>
            <atom:updated>2026-04-21T11:49:01.825Z</atom:updated>
            <content:encoded><![CDATA[<p>We treat LLMs like omniscient search engines, but when it comes to software recommendations, they are often confidently hallucinating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/1*nbTO4f1CPVUMBYM_D7VsHg.png" /></figure><p>If you work extensively with generative AI, your sidebar is likely a messy graveyard of untitled chats and disjointed thoughts. Recently, looking to clean up my workspace, I did what most of us do: I asked ChatGPT to recommend a browser extension to organize its own chats into folders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*bHW2dV7uEZcNq5CuJXHKwg.png" /><figcaption>messy GPT sidebar</figcaption></figure><p>The response was a highly confident, neatly formatted list of “the best working extensions.” It looked authoritative. It included pros, cons, and specific use cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90n3ucNK1EH3hGrWH08XbQ.png" /><figcaption>GPT trying to replace Google :)</figcaption></figure><p>But when I actually audited the Chrome Web Store data to verify these suggestions, the results were alarming. It became immediately clear that relying on AI for web-based product recommendations without human verification is a massive security and productivity risk. Here is what the data actually showed.</p><h3>The Illusion of Authority: Auditing the Recommendations</h3><p>When an LLM recommends software, we assume it’s pulling from high-traffic, highly-rated sources. In reality, it often pieces together predictive text based on obscure directories, outdated SEO, or even dead projects.</p><p>Let’s look at the specific extensions ChatGPT aggressively recommended for organizing chats:</p><ul><li><strong>AIChatsOrganizer:</strong> The AI praised this for its “clean UI and simple workflow.” I searched for it on the Chrome Web Store. It has exactly <strong>76 users</strong>. Entrusting your entire chat history and prompt data to an unvetted extension with fewer than 100 installs is a massive privacy gamble.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7RRAQAfB4t2EiDtSOYbHqw.png" /><figcaption>Reality uncovered</figcaption></figure><ul><li><strong>zenGPT:</strong> Billed by the AI as a great tool for “semi-automatic organization.” The reality? The extension currently sits at <strong>2 users</strong>. It is a literal ghost town. The model recommended software that virtually no one on the internet uses.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S6m1hZJHPHG2wD9oG1oKWg.png" /><figcaption>Thats unbelievable</figcaption></figure><ul><li><strong>MindMarks:</strong> Suggested as the ultimate “knowledge base” tool. This one didn’t even surface in standard Chrome Store searches. I had to track down their specific website (mindmarks.io) just to verify it existed. Even then, it only boasted <strong>116 users</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YHhwqHNiuCBY8ddYVsFHgQ.png" /><figcaption>Last but not least ghost</figcaption></figure><h3>The One Exception (And Why It Matters)</h3><p>Out of the half-dozen tools the AI confidently pitched, only one actually held up to basic scrutiny: <strong>ChatGPT Toolbox</strong>.</p><p>Unlike the ghost-town extensions, ChatGPT Toolbox actually has a verifiable user base (above 10000), is actively maintained, and reliably creates folders directly in the sidebar. It doesn’t feel like a weekend project abandoned in 2023.</p><p>But the fact that a legitimate tool was buried in a list of dead or non-existent software highlights a critical flaw in how we use AI.</p><h3>Why Does AI Fail at Search?</h3><p>When you ask an LLM for software recommendations, it isn’t executing a real-time API call to the Chrome Web Store to check active user counts, recent reviews, or update logs.</p><p>Instead, it relies on its training corpus and retrieval systems. If a developer wrote a few SEO-optimized blog posts about “zenGPT” two years ago, the model might weigh that text heavily, completely unaware that the project was abandoned. The AI optimises for language that <em>sounds</em> correct, using formatting like bullet points and bold checkmarks, masking the fact that the underlying data is practically useless.</p><h3>The Takeaway</h3><p>AI is incredible for drafting code, synthesizing research, and brainstorming. But it is not a substitute for verified search.</p><p>When an AI recommends a third-party tool, especially one that requires access to your browser or data, treat it with extreme skepticism. Always check the active user count, verify the developer, and look for recent updates.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8936c2248e3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NLP | Text Preprocessing Fundamentals]]></title>
            <link>https://is-ammar-1.medium.com/nlp-text-preprocessing-fundamentals-dc1584566c43?source=rss-65c76467bde6------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc1584566c43</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[sentiment-analysis]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Muhammad ammar]]></dc:creator>
            <pubDate>Fri, 21 Feb 2025 06:40:04 GMT</pubDate>
            <atom:updated>2025-02-21T06:40:04.977Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Cleaning and Normalizing Raw Text Data</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k4mL64_teY9zNn5j" /><figcaption>Generated with meta</figcaption></figure><h3>Why Preprocess Text?</h3><p>Raw text data is messy. It contains inconsistencies like uppercase/lowercase, irrelevant characters, URLs, emojis, and noise that confuse NLP models. Preprocessing converts chaotic text into a <strong>structured format</strong> suitable for analysis.</p><h4>Key Preprocessing Steps</h4><h4>1. Lowercasing</h4><p>Standardize text to lowercase to avoid treating “Apple” and “apple” as different words.</p><pre>text = &quot;Hello World! THIS is NLP.&quot;  <br>text_lower = text.lower()  <br>print(text_lower)  # &quot;hello world! this is nlp.&quot;  </pre><h4>2. Removing Noise</h4><p>Use regex to eliminate URLs, hashtags, and special characters:</p><pre>import re  <br><br>text = &quot;Check out this link: https://example.com 😊 #NLP&quot;  <br>text_clean = re.sub(r&#39;http\S+|#\w+|[^\w\s]&#39;, &#39;&#39;, text)  <br>print(text_clean)  # &quot;Check out this link  &quot;</pre><h4>3. Tokenization</h4><p>Split text into words/sentences. Compare <strong>NLTK</strong> and <strong>spaCy</strong>:</p><pre># Using NLTK  <br>from nltk.tokenize import word_tokenize  <br>nltk.download(&#39;punkt&#39;)  # Download tokenizer data  <br><br>tokens_nltk = word_tokenize(&quot;Let&#39;s tokenize this sentence.&quot;)  <br>print(tokens_nltk)  # [&quot;Let&quot;, &quot;&#39;s&quot;, &quot;tokenize&quot;, &quot;this&quot;, &quot;sentence&quot;, &quot;.&quot;]  <br><br># Using spaCy  <br>nlp = spacy.load(&quot;en_core_web_sm&quot;)  <br>doc = nlp(&quot;Let&#39;s tokenize this sentence.&quot;)  <br>tokens_spacy = [token.text for token in doc]  <br>print(tokens_spacy)  # [&quot;Let&quot;, &quot;&#39;s&quot;, &quot;tokenize&quot;, &quot;this&quot;, &quot;sentence&quot;, &quot;.&quot;]  </pre><h4>4. Stopword Removal</h4><p>Eliminate frequently used words (e.g., “the”, “is”) that add little meaning:</p><pre>from nltk.corpus import stopwords  <br>nltk.download(&#39;stopwords&#39;)  <br><br>stop_words = set(stopwords.words(&#39;english&#39;))  <br>filtered_tokens = [word for word in tokens_nltk if word.lower() not in stop_words]  <br>print(filtered_tokens)  # [&quot;Let&quot;, &quot;&#39;s&quot;, &quot;tokenize&quot;, &quot;sentence&quot;, &quot;.&quot;]  </pre><h4>5. Stemming vs. Lemmatization</h4><ul><li><strong>Stemming</strong>: Crudely chop word endings (e.g., “running” → “run”).</li><li><strong>Lemmatization</strong>: Use vocabulary to reduce words to roots (e.g., “better” → “good”)</li></ul><pre># Stemming with NLTK  <br>from nltk.stem import PorterStemmer  <br>stemmer = PorterStemmer()  <br>print(stemmer.stem(&quot;running&quot;))  # &quot;run&quot;  <br><br># Lemmatization with spaCy  <br>doc = nlp(&quot;I am better at running&quot;)  <br>lemmas = [token.lemma_ for token in doc]  <br>print(lemmas)  # [&quot;I&quot;, &quot;be&quot;, &quot;good&quot;, &quot;at&quot;, &quot;run&quot;]  </pre><h4>6. Handling Contractions</h4><p>Expand shortened words like “don’t” → “do not”:</p><pre>!pip install contractions  <br>import contractions  <br><br>text = &quot;I can&#39;t wait for NLP&#39;s next article!&quot;  <br>expanded = contractions.fix(text)  <br>print(expanded)  # &quot;I cannot wait for NLP is next article!&quot;  </pre><h4>7. Emoji Handling</h4><p>Convert emojis to text or remove them:</p><pre>import emoji  <br><br>text = &quot;I ❤️ NLP! 😊&quot;  <br>demojized = emoji.demojize(text)  <br>print(demojized)  # &quot;I :red_heart: NLP! :grinning_face_with_smiling_eyes:&quot;  <br><br># Remove emojis  <br>text_clean = re.sub(r&#39;:[a-z_]+:&#39;, &#39;&#39;, demojized)  <br>print(text_clean)  # &quot;I  NLP! &quot;  </pre><h3>Project: Preprocess a Reddit Comment Dataset</h3><h4>Step 1: Load Sample Data</h4><pre>comments = [  <br>    &quot;OMG! This is SO cool 😍 Check it out: https://reddit.com/r/NLP&quot;,  <br>    &quot;I can&#39;t believe how #NLP has evolved. #mindblown&quot;,  <br>    &quot;Lowercasing AND STOPWORDS are annoying, right?&quot;  <br>]  </pre><h4>Step 2: Build a Preprocessing Pipeline</h4><pre>def preprocess(text):  <br>    # Expand contractions  <br>    text = contractions.fix(text)  <br>    # Remove URLs/mentions  <br>    text = re.sub(r&#39;http\S+|#\w+&#39;, &#39;&#39;, text)  <br>    # Lowercase  <br>    text = text.lower()  <br>    # Tokenize and remove stopwords  <br>    doc = nlp(text)  <br>    tokens = [token.lemma_ for token in doc if not token.is_stop and token.is_alpha]  <br>    return &#39; &#39;.join(tokens)  <br><br>processed = [preprocess(comment) for comment in comments]  <br>print(processed)  </pre><h4>Output:</h4><pre>[&#39;omg cool check&#39;, &#39;believe nlp evolve mindblown&#39;, &#39;lowercase stopword annoying right&#39;]  </pre><h3>What’s Next?</h3><p>In <strong>Article 3</strong>, we’ll convert cleaned text into numerical features using <strong>Bag-of-Words</strong> and <strong>TF-IDF</strong>, then build a genre classifier!</p><h3>Challenge Exercise</h3><p>Preprocess this tweet:</p><pre>tweet = &quot;Y’all, this AI stuff is LIT!!! 🔥🔥 Check it: https://ai.com #FutureIsHere&quot;  </pre><p><em>Goal</em>: Output should be [&quot;y&#39;all&quot;, &quot;ai&quot;, &quot;stuff&quot;, &quot;lit&quot;, &quot;check&quot;, &quot;futureishere&quot;]</p><h4>Resources</h4><ul><li><a href="https://www.nltk.org/howto/stem.html">NLTK Stemming/Lemmatization Guide</a></li><li><a href="https://spacy.io/usage/linguistic-features#tokenization">spaCy Tokenization Docs</a></li></ul><p>With clean, structured text data, you’re ready to tackle feature extraction in the next article! 🧹✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc1584566c43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to NLP and Setting Up Your Environment]]></title>
            <link>https://is-ammar-1.medium.com/introduction-to-nlp-and-setting-up-your-environment-7c4603fc63cb?source=rss-65c76467bde6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c4603fc63cb</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <dc:creator><![CDATA[Muhammad ammar]]></dc:creator>
            <pubDate>Tue, 04 Feb 2025 08:07:22 GMT</pubDate>
            <atom:updated>2025-02-04T08:12:06.216Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction to NLP || Overview, Applications, and Tools</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rUZMhNI79GRrwfxFt9Va5g.jpeg" /><figcaption>NLP With Python</figcaption></figure><p><strong>Welcome</strong> to my <strong><em>10-part article series</em></strong> to take Python developers from NLP beginners to advanced experts. Each article builds on the previous, with code examples, projects, and resources.</p><h4>Article 1: Introduction to NLP and Setting Up Your Environment</h4><p><strong>Objective</strong>: Overview of NLP, applications, and tools.</p><ul><li><strong>What is NLP?</strong> (chatbots, translation, sentiment analysis)</li><li><strong>Python libraries:</strong> NLTK, spaCy, scikit-learn, <a href="https://medium.com/u/b1574f0c6c5e">Hugging Face</a></li><li><strong>Setup:</strong> Install libraries, intro to Jupyter/ <a href="https://medium.com/u/be36e94a7e47">Google</a> Colab / Kaggle</li><li><strong>Project</strong>: Use spaCy to detect named entities in a news snippet.</li></ul><h3>What is Natural Language Processing (NLP)?</h3><p>Natural Language Processing (NLP) is a branch of artificial intelligence that focuses on enabling machines to <strong>understand, interpret, and generate human language</strong>.</p><p>From chatbots like ChatGPT to tools like Google Translate, NLP powers many applications you use daily:</p><ul><li>Sentiment analysis (e.g., classifying product reviews)</li><li>Machine translation (e.g., Google Translate)</li><li>Named Entity Recognition (identifying people, organizations, etc.)</li><li>Text summarization and question-answering systems</li></ul><h3>Key Python Libraries for NLP</h3><p>To work with NLP in Python, you’ll use these essential libraries:</p><ol><li><strong>NLTK</strong>: The classic toolkit for text processing (tokenization, stemming).</li><li><strong>spaCy</strong>: Industrial-strength NLP with pre-trained models.</li><li><strong>scikit-learn</strong>: Machine learning pipelines (TF-IDF, classifiers).</li><li><strong>Hugging Face Transformers</strong>: State-of-the-art models like BERT and GPT.</li></ol><h4>Setting Up Your Environment</h4><h4>Step 1: Install Libraries</h4><p>Run these commands in your terminal:</p><pre># Install core libraries<br>pip install nltk spacy scikit-learn<br><br># Install transformers and datasets (for future articles)<br>pip install transformers datasets<br><br># Download spaCy&#39;s English model<br>python -m spacy download en_core_web_sm</pre><h4>Step 2: Verify Installations</h4><p>Open a Python shell and test the imports:</p><pre>import nltk<br>import spacy<br>from sklearn.feature_extraction.text import TfidfVectorizer</pre><h4>Step 3: Choose Your Workspace</h4><ul><li>Use <strong>Jupyter Notebook</strong> for experimentation.</li><li>Try <strong>Google Colab</strong> or <strong>Kaggle</strong> for free GPU access (crucial for later deep learning projects).</li></ul><h4>Hands-On Project: Named Entity Recognition with spaCy</h4><p>Let’s detect entities (people, organizations, dates) in a news snippet.</p><h4>Code Walkthrough</h4><pre>import spacy<br><br># Load spaCy&#39;s pre-trained English model<br>nlp = spacy.load(&quot;en_core_web_sm&quot;)<br><br># Sample news text<br>text = &quot;&quot;&quot;<br>Apple Inc. plans to open a new office in Tokyo by September 2024. <br>CEO Tim Cook announced the expansion during a keynote on Tuesday.<br>&quot;&quot;&quot;<br><br># Process the text<br>doc = nlp(text)<br><br># Extract entities<br>for ent in doc.ents:<br>    print(f&quot;{ent.text.ljust(20)} | {ent.label_}&quot;)</pre><h4>Output:</h4><pre>Apple Inc.           | ORG  <br>Tokyo                | GPE  <br>September 2024       | DATE  <br>Tim Cook             | PERSON  <br>Tuesday              | DATE</pre><h4>How It Works:</h4><ul><li>nlp(text) processes the text through spaCy’s pipeline (tokenization, POS tagging, entity recognition). We’ll dive deeper into this pipeline later on.</li><li>doc.ents returns detected entities with labels like ORG (organization) or GPE (geopolitical entity).</li></ul><h4>What’s Next?</h4><p>In <strong>Article 2</strong>, we’ll dive into <strong>text preprocessing</strong>: cleaning raw text data, handling emojis, and lemmatization. You’ll preprocess a Reddit comment dataset to prepare it for machine learning.</p><h4>Challenge Exercise</h4><p>Modify the spaCy code above to analyze this text:</p><pre>text = &quot;&quot;&quot;<br>Elon Musk announced that SpaceX will launch a Mars mission in 2026. <br>The project will collaborate with NASA and cost $10 billion.<br>&quot;&quot;&quot;</pre><p><em>Hint</em>: Look for ORG, DATE, MONEY, and PERSON entities</p><h4>Resources</h4><ul><li><a href="https://spacy.io/usage">spaCy Documentation</a></li><li><a href="https://www.nltk.org/book/">NLTK Book</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c4603fc63cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use Open Source Meta Llama3.1 405B]]></title>
            <link>https://is-ammar-1.medium.com/how-to-use-open-source-meta-llama3-1-405b-4e0e818cc062?source=rss-65c76467bde6------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e0e818cc062</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <category><![CDATA[llama-3]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[meta]]></category>
            <dc:creator><![CDATA[Muhammad ammar]]></dc:creator>
            <pubDate>Sun, 08 Sep 2024 19:37:57 GMT</pubDate>
            <atom:updated>2024-09-09T05:07:38.219Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*YNZBw3hb4K--p_9BAQQ1ig.jpeg" /><figcaption>Generated by Llama3.1 405B</figcaption></figure><p>Recently, when I was working in my role as an AI developer at <a href="http://thinkstudylearn.com/">ThinkStudyLearn</a>, I came across the news that <a href="https://medium.com/u/4e7a97edbbf7">Meta</a> has made its most powerful model, Llama3.1 405B, available and open to use in projects free of cost. The news was big so was the impact.</p><p>I was working on a ChatBot using LangChain and trying to implement RAG and was worrying about the cost of ChatGPT API. I decided to give a try to Meta Llama 3.1 405B and you know what, its results were amazing and mind-blowing. The features I love are its real-time image generation, Math skills and logical reasoning. Now the problem was how could I use its abilities in my projects. You can test its abilities at <a href="https://www.meta.ai/">meta.ai</a>.</p><ol><li><strong>Download and Run on Local Machine</strong></li></ol><p>You can download the model and run it on your local machines. You can download it from <a href="https://llama.meta.com/llama-downloads/">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*na95AVm15cqIOZ5uJ0C79Q.png" /></figure><p>Select the model and enter all the required details and accept the terms and conditions. After that, you will be given your unique custom URL. Copy and save it. You will need it later on. Now, start the download process.</p><ol><li>Install the <a href="https://github.com/meta-llama/llama-stack">Llama CLI</a>: pip install llama-toolchain.</li><li>Run llama model list to show the latest available models and determine the model ID you wish to download.</li><li>Run: llama download --source meta --model-id CHOSEN_MODEL_ID</li><li>Pass the URL that you copied earlier.</li></ol><p>Remember that the links expire after 24 hours and a certain amount of downloads. Once the download is complete, you can run it through the transformers pipeline.</p><pre>#pip install huggingface-hub<br><br>import transformers<br>import torch<br><br>model_id = &quot;meta-llama/Meta-Llama-3.1-405B&quot;<br><br>pipeline = transformers.pipeline(<br>  &quot;text-generation&quot;,<br>  model=&quot;meta-llama/Meta-Llama-3.1-405B&quot;,<br>  model_kwargs={&quot;torch_dtype&quot;: torch.bfloat16},<br>  device=&quot;cuda&quot;,<br>)</pre><p>2.<strong> Through Huggingface</strong></p><p>To use Llama3.1 404B, you will need to have model access. To do so, open the model on <a href="https://huggingface.co/meta-llama/Meta-Llama-3.1-405B">huggingface</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7v-d-h47K5M6OHt2YkoxJA.png" /></figure><p>I have already obtained the access. You will see a request access button here. It will take some time approximately less than 24 hours. After you have been granted access, you can use it in your code. All you need is to generate an access token. Refer to this <a href="https://huggingface.co/settings/tokens">link</a>. Click on Create New Token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VxK2REr-h89mAGnyVwyEBQ.png" /></figure><p>Under the section Repositories permissions, select meta3.1 405B as shown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wzEqKTxwv-iOr27TT0Z0eg.png" /></figure><p>Now you can use it in your code. A simple example is.</p><pre>from transformers import pipeline<br>from huggingface_hub import login<br>login(&quot;Your Token&quot;)<br><br>question_answerer = pipeline(&quot;question-answering&quot;, model=&quot;meta-llama/Meta-Llama-3.1-405B&quot;)<br>quest = input(&quot;Please ask me a question relevant to your context: &quot;)<br>question_answerer(question=quest,context=text)</pre><p>Using the Meta Llama 3.1 405B model provides a cost-effective way to implement high-capability AI features in your projects, especially in scenarios where the cost of APIs like ChatGPT might be prohibitive. Remember, the computational demands are significant due to the model’s size, so ensure you have the necessary hardware or cloud resources to handle its operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e0e818cc062" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>