{"id":35349,"date":"2025-01-18T18:55:36","date_gmt":"2025-01-18T18:55:36","guid":{"rendered":"https:\/\/peraltafinancing.com\/analytics\/gemma-2b-vs-llama-3-2-vs-qwen-7b\/"},"modified":"2025-01-18T18:55:36","modified_gmt":"2025-01-18T18:55:36","slug":"gemma-2b-vs-llama-3-2-vs-qwen-7b","status":"publish","type":"post","link":"https:\/\/fivemor.com\/?p=35349","title":{"rendered":"Gemma 2B vs Llama 3.2 vs Qwen 7B"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div id=\"article-start\">\n<p>Entity extraction, also known as Named Entity Recognition, is a crucial task in natural language processing that focuses on identifying and classifying key information from unstructured text. This process involves detecting specific entities such as names of people, organizations, locations, dates, and various other categories of information within a body of text. The primary goal of entity extraction is to convert unstructured data into structured formats that can be easily analyzed and interpreted by computers. By transforming raw text into structured data, entity extraction facilitates better information retrieval, content organization, and insights generation from large volumes of textual data.<\/p>\n<p>Entity extraction using Language Models has emerged as a powerful method for identifying and categorizing entities from unstructured text. Language Models excel in understanding the context surrounding words, which allows them to accurately identify entities based on their usage within sentences. This capability significantly reduces errors associated with ambiguous terms that traditional NER systems might misclassify due to a lack of contextual awareness<\/p>\n<h3 class=\"wp-block-heading\">Learning Objectives<\/h3>\n<ul class=\"wp-block-list\">\n<li>Understand the concept of entity extraction and its role in transforming unstructured text into structured data for better analysis and insights.<\/li>\n<li>Explore how small language models enhance entity extraction by leveraging contextual understanding for accurate entity identification.<\/li>\n<li>Compare the features, architecture, and performance of small language models like Gemma 2B, Llama 3.2, and Qwen 7B in entity extraction tasks.<\/li>\n<li>Learn the process of implementing and evaluating small language models for entity extraction using practical tools like Google Colab and Ollama.<\/li>\n<li>Analyze the comparative assessment results to identify the most effective small language models for specific entity extraction scenarios.<\/li>\n<\/ul>\n<p><em><strong>This article was published as a part of the\u00a0<\/strong><\/em><a href=\"https:\/\/www.analyticsvidhya.com\/datahack\/blogathon\" target=\"_blank\" rel=\"noreferrer noopener\"><em><strong>Data Science Blogathon.<\/strong><\/em><\/a><\/p>\n<p>Entity extraction has come a long way from traditional rule-based systems to machine learning models, and now to advanced language models. Unlike older methods, which often struggled with ambiguous terms or lacked the flexibility to adapt to new contexts, language models bring a contextual understanding of text. They analyze not just individual words but the relationships between them, allowing for a more accurate identification and classification of entities like names, organizations, locations, and dates.<\/p>\n<figure class=\"wp-block-image size-full figure mt-2 mb-2 d-table mx-auto\"><img fetchpriority=\"high\" decoding=\"async\" width=\"891\" height=\"147\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Why-Language-Models-can-improve-Entity-Extraction.webp\" alt=\"Why Language Models can improve Entity Extraction?\" class=\"wp-image-216178\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Why-Language-Models-can-improve-Entity-Extraction.webp 891w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Why-Language-Models-can-improve-Entity-Extraction-300x49.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Why-Language-Models-can-improve-Entity-Extraction-768x127.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Why-Language-Models-can-improve-Entity-Extraction-150x25.webp 150w\" sizes=\"(max-width: 891px) 100vw, 891px\"\/><\/figure>\n<p>What sets language models apart is their ability to leverage vast amounts of training data and sophisticated architectures, like transformer-based designs, to recognize patterns in text. This makes them exceptionally effective in handling complex sentences and detecting subtle variations in how entities are expressed. Whether it\u2019s disambiguating terms like \u201cApple\u201d (the company vs. the fruit) or recognizing new, domain-specific entities without retraining, language models have revolutionized the way unstructured data is transformed into actionable insights. Their adaptability and precision have made them indispensable tools in modern natural language processing.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-gemma-2b-vs-llama-3-2-vs-qwen-7b-overview\">Gemma 2B vs Llama 3.2 vs Qwen 7B: Overview<\/h2>\n<p>Small Language Models have fewer parameters (typically under 10 billion), which dramatically reduces the computational costs and energy usage. They focus on specific tasks and are trained on smaller datasets. This maintains a balance between performance and resource efficiency.\u00a0<\/p>\n<figure class=\"wp-block-image size-full is-resized figure mt-2 mb-2 d-table mx-auto\"><img loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"270\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Popular-Small-Language-Models.webp\" alt=\"Popular Small Language Models\" class=\"wp-image-216179\" style=\"width:732px;height:auto\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Popular-Small-Language-Models.webp 676w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Popular-Small-Language-Models-300x120.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Popular-Small-Language-Models-150x60.webp 150w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\"\/><\/figure>\n<h3 class=\"wp-block-heading\" id=\"h-gemma-2b\">Gemma 2B<\/h3>\n<p>Gemma 2B is a lightweight, state-of-the-art language model developed by Google, designed to perform effectively across various natural language processing tasks.<\/p>\n<p><b>Key Features of Model<\/b><\/p>\n<ul class=\"wp-block-list\">\n<li><b>Number of Parameters<\/b>: 2 Billion<\/li>\n<li><b>Context Length<\/b>: 8192 tokens<\/li>\n<li>It has been trained on approximately 2 trillion tokens, primarily sourced from web documents, code, and mathematics, predominantly in English.<\/li>\n<li>The model is open-source with publicly available weights.<\/li>\n<li><b>Model Architecture<\/b>: Gemma 2B utilizes a decoder-only transformer architecture.<\/li>\n<\/ul>\n<p>Some other optimizations in the architecture of Gemma 2B are the following:<\/p>\n<ul class=\"wp-block-list\">\n<li>Multi-Query Attention (MQA)<\/li>\n<li>Rotary Positional Embeddings (RoPE)<\/li>\n<li>GeGLU Activations and RMSNorm.<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\" id=\"h-llama-3-2-1b-and-3b\">Llama 3.2 1B and 3B<\/h3>\n<p>Llama 3.2 is a collection of multilingual large language models developed by Meta. It offers various parameter sizes, including the 1 billion (1B) and 3 billion (3B) versions.<\/p>\n<p><b>Key Features of Model<\/b><\/p>\n<ul class=\"wp-block-list\">\n<li>The Llama 3.2 1B model consists of 1.23 billion parameters, while the Llama 3.2 3B model contains approximately 3.2 billion parameters. These lightweight options are suitable for deployment on edge devices and mobile platforms.<\/li>\n<li>Context Length for both the models: 128,000 tokens<\/li>\n<li>The\u00a0Llama 3.2 1B and 3B\u00a0model was trained on a substantial dataset consisting of up to\u00a09 trillion tokens\u00a0derived from various publicly available sources<\/li>\n<li>The Llama 3.2 models are decoder-only transformer models. They are designed as auto-regressive language models, which means they generate text by predicting the next token based on the previous tokens in the sequence.<\/li>\n<li>It is optimized for multilingual dialogue use cases, making it suitable for tasks such as retrieval and summarization across various languages<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\" id=\"h-qwen-7b\">Qwen 7B<\/h3>\n<p>Alibaba Cloud developed Qwen 7B, a language model designed for a variety of natural language processing tasks.<\/p>\n<p><b>Key Features of Model<\/b><\/p>\n<ul class=\"wp-block-list\">\n<li>Qwen 7B has\u00a07 billion parameters, which allows it to capture complex patterns in language and perform a wide range of tasks effectively.<\/li>\n<li>The\u00a0Qwen 7B\u00a0model has a context length of\u00a08,192 tokens<\/li>\n<li>The model was pretrained on over\u00a02.4 trillion tokens\u00a0from diverse sources, including web texts, books, and code.<\/li>\n<li>Qwen 7B\u00a0model is a\u00a0decoder-only transformer. It is designed similarly to the LLaMA series of models, focusing on generating text by predicting the next token based on previous tokens in the sequence. It consists of 32 layers and 32 attention heads, with a hidden size of 4096, supporting efficient processing of input data.<\/li>\n<li>Some other optimizations in the architecture of Gemma 2B are the following:<\/li>\n<\/ul>\n<ul class=\"wp-block-list\">\n<li><b>Rotary Positional Embeddings (RoPE)<\/b><\/li>\n<li><b>SwiGLU activation function  <\/b><\/li>\n<li><b>RMSNorm.<\/b><\/li>\n<\/ul>\n<p>Running models on Google Colab using Ollama provides a seamless way to implement and evaluate small language models for entity extraction tasks. With minimal setup, users can leverage powerful models to process text and extract key entities efficiently.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-step1-installing-the-required-libraries\">Step1: Installing the Required Libraries<\/h3>\n<p>Below we will install all the required libraries:<\/p>\n<pre class=\"wp-block-code\"><code>!sudo apt update\n!sudo apt install -y pciutils\n!pip install langchain-ollama\n!pip install ollama==0.4.2<\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-step2-importing-the-required-libraries\">Step2: Importing the Required Libraries<\/h3>\n<p>Once the installation is done, it is time to import the libraries.<\/p>\n<pre class=\"wp-block-code\"><code>import threading\nimport subprocess\nimport time\nfrom langchain_core.prompts import ChatPromptTemplate\nfrom langchain_ollama.llms import OllamaLLM\nfrom IPython.display import Markdown<\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-step3-running-ollama-in-background-on-colab\">Step3: Running Ollama in Background on Colab<\/h3>\n<p>Start the Ollama server in the background on Colab to enable seamless interaction with the language models.<\/p>\n<pre class=\"wp-block-code\"><code>def run_ollama_serve():\n  subprocess.Popen([\"ollama\", \"serve\"])\n\nthread = threading.Thread(target=run_ollama_serve)\nthread.start()\ntime.sleep(5)<\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-step4-fetching-the-csv-data\">Step4: Fetching The CSV Data<\/h3>\n<p>We use the first 10 rows of this <a href=\"https:\/\/github.com\/shadi-fsai\/weekly\/blob\/master\/generated_highlight_samples.csv\" target=\"_blank\" rel=\"nofollow noopener\">dataset<\/a> from github for a comparison of extracted entities as outputs from different small language models.<\/p>\n<pre class=\"wp-block-code\"><code>import pandas as pd\ndf1 = pd.read_csv(\"generated_highlight_samples.csv\",encoding='latin-1',header=None)\ndf1.columns =['text','entities_org']\ndf1.shape<\/code><\/pre>\n<h3 class=\"wp-block-heading\" id=\"h-step5-pulling-model-from-ollama\">Step5: Pulling Model from Ollama<\/h3>\n<p>Retrieve the desired language model from Ollama to begin processing text for entity extraction.<\/p>\n<pre class=\"wp-block-code\"><code>template = \"\"\"Question: {question}\"\"\"\n\nprompt = ChatPromptTemplate.from_template(template)\n\nmodel = OllamaLLM(model=\"mistral\")\n\nchain = prompt | model\n\nfrom tqdm import tqdm\nresp=[]\nfor texts in tqdm(df1['text'].values.tolist()[:10]):\n  input_data = {\n    \"question\": \"\"\"ONLY EXTRACT \"Project\", \"Companies\" and \"People\" from the following text in the format WITHOUT ANY ADDITIONAL TEXT [\"Project\": \" \" , \"Companies\" : \" \", \"People\" : \" \"] - %s\"\"\"%(texts)}\n\n  # Invoke the chain with input data and display the response in Markdown format\n  response = chain.invoke(input_data)\n  resp.append([texts,response])\n\n# Create DataFrame of Extracted Entities\nresp1 = pd.DataFrame(resp)\nresp1.columns =['Text','Entities']\ndf2 = df1.iloc[:10,:]\nresp1['entities_org']=df2['entities_org'].values.tolist()<\/code><\/pre>\n<h4 class=\"wp-block-heading\" id=\"h-output-from-gemma-2b\">Output_from_Gemma 2B<\/h4>\n<figure class=\"wp-block-image size-full figure  mt-2 mb-2 d-table mx-auto\"><img loading=\"lazy\" decoding=\"async\" width=\"1768\" height=\"547\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Gemma-2B.webp\" alt=\"Output_from_Gemma 2B:  Entity Extraction\" class=\"wp-image-216184\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Gemma-2B.webp 1768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Gemma-2B-300x93.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Gemma-2B-768x238.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Gemma-2B-1536x475.webp 1536w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Gemma-2B-150x46.webp 150w\" sizes=\"auto, (max-width: 1768px) 100vw, 1768px\"\/><\/figure>\n<h4 class=\"wp-block-heading\" id=\"h-output-from-qwen-7b\">Output_from_Qwen 7B<\/h4>\n<figure class=\"wp-block-image size-full figure  mt-2 mb-2 d-table mx-auto\"><img loading=\"lazy\" decoding=\"async\" width=\"1750\" height=\"366\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Qwen-7B.webp\" alt=\"Output_from_Qwen 7B:  Entity Extraction\" class=\"wp-image-216185\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Qwen-7B.webp 1750w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Qwen-7B-300x63.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Qwen-7B-768x161.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Qwen-7B-1536x321.webp 1536w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Qwen-7B-150x31.webp 150w\" sizes=\"auto, (max-width: 1750px) 100vw, 1750px\"\/><\/figure>\n<h4 class=\"wp-block-heading\" id=\"h-output-from-llama-3-2-1-b\">Output_from_Llama 3.2 1 B<\/h4>\n<figure class=\"wp-block-image size-full figure  mt-2 mb-2 d-table mx-auto\"><img loading=\"lazy\" decoding=\"async\" width=\"1770\" height=\"544\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-1-B.webp\" alt=\"Output_from_Llama 3.2 1 B:  Entity Extraction\" class=\"wp-image-216190\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-1-B.webp 1770w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-1-B-300x92.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-1-B-768x236.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-1-B-1536x472.webp 1536w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-1-B-150x46.webp 150w\" sizes=\"auto, (max-width: 1770px) 100vw, 1770px\"\/><\/figure>\n<h4 class=\"wp-block-heading\" id=\"h-output-from-llama-3-2-3-b\">Output_from_Llama 3.2 3 B<\/h4>\n<figure class=\"wp-block-image size-full figure  mt-2 mb-2 d-table mx-auto\"><img loading=\"lazy\" decoding=\"async\" width=\"1773\" height=\"373\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-3-B.webp\" alt=\"Output_from_Llama 3.2 3 B:  Entity Extraction\" class=\"wp-image-216191\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-3-B.webp 1773w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-3-B-300x63.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-3-B-768x162.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-3-B-1536x323.webp 1536w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/01\/Output_from_Llama-3.2-3-B-150x32.webp 150w\" sizes=\"auto, (max-width: 1773px) 100vw, 1773px\"\/><\/figure>\n<p>The evaluation framework for assessing entity extraction focuses on measuring the accuracy of identified entities like projects, companies, and people. Each model\u2019s output is scored based on its ability to extract entities correctly, partially, or not at all, with scores aggregated across multiple test cases. This approach ensures a fair comparison of model performance in diverse scenarios.<\/p>\n<p>Let us take a sample row from the <a href=\"https:\/\/github.com\/shadi-fsai\/weekly\/blob\/master\/generated_highlight_samples.csv\" target=\"_blank\" rel=\"nofollow noopener\">dataset<\/a>.<\/p>\n<pre class=\"wp-block-preformatted\">\"<i>In a groundbreaking collaboration, Vertex brings together Allianz and Google,<\/i><br\/><i> leveraging their expertise to drive innovation, with David at the forefront, <\/i><br\/><i>overseeing a team that has achieved a 35% increase in operational efficiency and a <\/i><br\/><i>25% reduction in costs, ultimately enhancing customer experience for over 500,000 <\/i><br\/><i>users, and paving the way for a potential 40% market expansion within the next two<\/i><br\/><i> years.\"<\/i><\/pre>\n<p>As given in the second column of the\u00a0<a href=\"https:\/\/github.com\/shadi-fsai\/weekly\/blob\/master\/generated_highlight_samples.csv\" target=\"_blank\" rel=\"nofollow noopener\">dataset<\/a>, these are the valid Project, Companies and People Entities mentioned in the text.<\/p>\n<p><b>{\u201cprojects\u201d: [\u201cVertex\u201d],\u201dcompanies\u201d: [\u201cAllianz\u201d,\u201dGoogle\u201d],\u201dpeople\u201d: [\u201cDavid\u201d]}<\/b><\/p>\n<p>In order to evaluate the LLM model for entity extraction, we apply the following procedure:<\/p>\n<ul class=\"wp-block-list\">\n<li>If our LLM model is able to extract these entities accurately, then we give it a score of 1 against each of these categories.<\/li>\n<li>If our LLM model is not able to extract any of these entities accurately, then we give it a score of 0 against each of these categories.<\/li>\n<li>If the LLM model partially extracts some entities accurately, we assign it a score based on the percentage of correctly extracted entities (e.g., 0.5 if it extracts 1 out of 2 original entities correctly) for each category.<\/li>\n<\/ul>\n<p><strong>Example:<\/strong><\/p>\n<p><b>Output_Scenario_1<\/b>: {\u201cprojects\u201d: [\u201c\u201d],\u201dcompanies\u201d: [\u201cAllianz\u201d,\u201dGoogle\u201d],\u201dpeople\u201d: [\u201c\u201d]}<\/p>\n<pre class=\"wp-block-preformatted\">For the above output from the LLM, score becomes the following:\nNumber of Correctly Extracted Project Entities - 0\nNumber of Correctly Extracted Company Entities -1\nNumber of Correctly Extracted People Entities - 0\u00a0<\/pre>\n<p><b>Output\u00a0_Scenario_2<\/b>: {\u201cprojects\u201d: [\u201cVertex\u201d],\u201dcompanies\u201d: [\u201cGoogle\u201d],\u201dpeople\u201d: [\u201c\u201d]}<\/p>\n<pre class=\"wp-block-preformatted\">For the above output from the LLM, score becomes the following:\nNumber of Correctly Extracted Project Entities - 1\nNumber of Correctly Extracted Company Entities - 0.5\nNumber of Correctly Extracted People Entities - 0\u00a0<\/pre>\n<p>Finally, we sum these scores for all the rows in the dataset to calculate the total number of correctly extracted entities across each category, as the table below shows.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-comparative-assessment-of-scores-from-different-models\">Comparative Assessment of Scores From Different Models<\/h2>\n<div class=\"table-responsive mb-3\">\n<table class=\"table table-bordered border-black table-striped\">\n<thead\/>\n<tbody>\n<tr>\n<td><b>Model<\/b><\/td>\n<td><b>Number of Correctly Extracted Project Entities<\/b><\/td>\n<td><b>Number of Correctly Extracted Company Entities<\/b><\/td>\n<td><b>Number of Correctly Extracted People Entities<\/b><\/td>\n<td><b>Average Score<\/b><\/td>\n<\/tr>\n<tr>\n<td><b>Gemma 2B<\/b><\/td>\n<td>9<\/td>\n<td>10<\/td>\n<td>10<\/td>\n<td>9.7<\/td>\n<\/tr>\n<tr>\n<td><b>Llama 3.2 1 B<\/b><\/td>\n<td>5<\/td>\n<td>6.5<\/td>\n<td>6.5<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td><b>Llama 3.2 3 B<\/b><\/td>\n<td>6<\/td>\n<td>6.5<\/td>\n<td>10<\/td>\n<td>7.5<\/td>\n<\/tr>\n<tr>\n<td><b>Qwen 7B<\/b><\/td>\n<td>5<\/td>\n<td>3<\/td>\n<td>10<\/td>\n<td>6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>As we can see from the table above \u2013<\/p>\n<ul class=\"wp-block-list\">\n<li>The accuracy for entity extraction comes to be highest for Gemma 2B.<\/li>\n<li>The second highest accuracy comes to be for the model Llama 3.2 3 B with the highest accuracy in extracting People entities.<\/li>\n<li>Qwen 7B performs the poorest in terms of accuracy for extracting Project and Company entities. However, it scores a 10 on 10 for extracting the People Entities.<\/li>\n<li>Llama 3.2 1 B doesn\u2019t perform greatly in extracting any category of entity.<\/li>\n<\/ul>\n<p>According to the sample test results, Gemma 2B emerged as the top-performing model. Nevertheless, we highly recommend that users conduct their own testing with their specific datasets to confirm the findings.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n<p>The comparative assessment of models such as Gemma 2B, Llama 3.2 (both 1B and 3B versions), and Qwen 7B highlights the strengths of these advanced architectures in entity extraction tasks. Gemma 2B stands out with the highest accuracy overall, particularly excelling in extracting various entity types. Llama 3.2 3B also performs well, especially in identifying people entities, while Qwen 7B shows a strong performance in this category despite lower accuracy in extracting project and company entities.<\/p>\n<p>Based on the sample testing example, Gemma 2B was the best-performing model. However, we strongly encourage users to test it on their own datasets to validate the results.<\/p>\n<p>In summary, the incorporation of language models into entity extraction processes not only enhances accuracy but also provides the flexibility needed to adapt to evolving data landscapes. As these models continue to advance, they will play an increasingly critical role in transforming unstructured text into actionable insights across various industries.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-key-takeaways\">Key Takeaways<\/h3>\n<ul class=\"wp-block-list\">\n<li>Language Models significantly improve entity extraction by leveraging their ability to understand context, leading to more accurate identification and classification of entities compared to traditional NER systems.<\/li>\n<li>Language Models can surpass traditional machine learning and deep learning models in NER accuracy. Language Models can handle entity extraction in multiple languages simultaneously, aiding global operations. Unlike traditional NER systems, Language Models can easily recognize new entities without extensive retraining.<\/li>\n<li>Small Language Models have fewer parameters (typically under 10 billion), which dramatically reduces the computational costs and energy usage. They focus on specific tasks and are trained on smaller datasets.<\/li>\n<li>Some of the latest Small Language Models include Meta\u2019s Llama 3.2 model (1 billion and 3 billion), Qwen 2 (0.5 and 7 billion) model, Gemma 2 (2 and 9 billion) model.<\/li>\n<li>In our comparative assessment of small language models for entity extraction, Gemma 2B leads in accuracy, particularly for a wide range of entity types, while Llama 3.2 3B excels in extracting \u201cPeople\u201d entities. Qwen 7B\u2019s performance is notable for \u201cPeople\u201d entities but weak for \u201cProject\u201d and \u201cCompany\u201d entities.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\">Frequently Asked Questions<\/h2>\n<div class=\"schema-faq wp-block-yoast-faq-block\">\n<div class=\"schema-faq-section\" id=\"faq-question-1737048293059\"><strong class=\"schema-faq-question\">Q1. <b>How do Language Models help in entity extraction?<\/b><\/strong> <\/p>\n<p class=\"schema-faq-answer\">A. Language Models improve entity extraction by understanding the context around words, which allows for accurate identification of entities, reducing errors that traditional NER systems might make due to lack of context.<\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1737048309250\"><strong class=\"schema-faq-question\">Q2. <b>What are Small Language Models (SLMs)?<\/b><\/strong> <\/p>\n<p class=\"schema-faq-answer\">A. Small Language Models (SLMs) are language models with fewer parameters, typically under 10 billion, making them more resource-efficient. They are optimized for specific tasks and trained on smaller datasets, balancing performance and computational efficiency. These models are ideal for applications that require fast responses and minimal resource consumption.<\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1737048325837\"><strong class=\"schema-faq-question\">Q3. <b>What is the Llama 3.2 model and what makes it unique?<\/b><\/strong> <\/p>\n<p class=\"schema-faq-answer\">A. Llama 3.2 is a multilingual language model with versions of 1B and 3B parameters, designed for tasks such as retrieval and summarization in various languages. It supports up to 128,000 tokens of context and is optimized for dialogue use cases.<\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1737048343385\"><strong class=\"schema-faq-question\">Q4. <b>What is the Gemma 2B model and what are its features?<\/b><\/strong> <\/p>\n<p class=\"schema-faq-answer\">A. Gemma 2B is a lightweight, state-of-the-art language model developed by Google, featuring 2 billion parameters and a context length of 8,192 tokens, optimized for various NLP tasks. It utilizes a decoder-only transformer architecture and is open-source, trained on approximately 2 trillion tokens from diverse sources.<\/p>\n<\/p><\/div>\n<div class=\"schema-faq-section\" id=\"faq-question-1737048355905\"><strong class=\"schema-faq-question\">Q5. <b>What are some key features of Qwen 7B model?<\/b><\/strong> <\/p>\n<p class=\"schema-faq-answer\">A. Alibaba Cloud developed Qwen 7B, a language model with 7 billion parameters and a context length of 8,192 tokens, designed for various NLP tasks. It uses a decoder-only transformer architecture, pre-trained on 2.4 trillion tokens, and includes optimizations like Rotary Positional Embeddings (RoPE) and SwiGLU activation.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p><strong>The media shown in this article is not owned by Analytics Vidhya and is used at the Author\u2019s discretion.<\/strong><\/p>\n<div class=\"border-top py-3 author-info my-4\">\n<div class=\"author-card d-flex align-items-center\">\n<div class=\"flex-shrink-0 overflow-hidden\">\n                                    <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/author\/mimi6\/\" class=\"text-decoration-none active-avatar\"><br \/>\n                                                                       <img decoding=\"async\" src=\"https:\/\/av-eks-lekhak.s3.amazonaws.com\/media\/lekhak-profile-images\/converted_image_ZkJo4gb.webp\" width=\"48\" height=\"48\" alt=\"Nibedita Dutta\" loading=\"lazy\" class=\"rounded-circle\"\/><\/p>\n<p>                                <\/a>\n                                <\/div>\n<\/p><\/div>\n<p>Nibedita completed her master\u2019s in Chemical Engineering from IIT Kharagpur in 2014 and is currently working as a Senior Data Scientist. In her current capacity, she works on building intelligent ML-based solutions to improve business processes.               <\/p>\n<\/p><\/div>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>Entity extraction, also known as Named Entity Recognition, is a crucial task in natural language processing that focuses on identifying and classifying key information from unstructured text. This process involves detecting specific entities such as names of people, organizations, locations, dates, and various other categories of information within a body of text. The primary goal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35350,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[5815,23318,8944,23319],"dealstore":[],"offerexpiration":[],"class_list":["post-35349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-blogathon","tag-gemma","tag-llama","tag-qwen"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Gemma 2B vs Llama 3.2 vs Qwen 7B - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fivemor.com\/?p=35349\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gemma 2B vs Llama 3.2 vs Qwen 7B - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Entity extraction, also known as Named Entity Recognition, is a crucial task in natural language processing that focuses on identifying and classifying key information from unstructured text. This process involves detecting specific entities such as names of people, organizations, locations, dates, and various other categories of information within a body of text. The primary goal [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fivemor.com\/?p=35349\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-18T18:55:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"872\" \/>\n\t<meta property=\"og:image:height\" content=\"473\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fivemor.com\/?p=35349#article\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/?p=35349\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\"},\"headline\":\"Gemma 2B vs Llama 3.2 vs Qwen 7B\",\"datePublished\":\"2025-01-18T18:55:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=35349\"},\"wordCount\":2050,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=35349#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp\",\"keywords\":[\"Blogathon\",\"Gemma\",\"Llama\",\"Qwen\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fivemor.com\/?p=35349#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fivemor.com\/?p=35349\",\"url\":\"https:\/\/fivemor.com\/?p=35349\",\"name\":\"Gemma 2B vs Llama 3.2 vs Qwen 7B - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/fivemor.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/fivemor.com\/?p=35349#primaryimage\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/?p=35349#primaryimage\"},\"thumbnailUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp\",\"datePublished\":\"2025-01-18T18:55:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fivemor.com\/?p=35349#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fivemor.com\/?p=35349\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/?p=35349#primaryimage\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp\",\"width\":872,\"height\":473},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fivemor.com\/?p=35349#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/fivemor.com\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gemma 2B vs Llama 3.2 vs Qwen 7B\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fivemor.com\/#website\",\"url\":\"https:\/\/fivemor.com\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/fivemor.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fivemor.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/fivemor.com\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/fivemor.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/fivemor.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/fivemor.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/fivemor.com\"],\"url\":\"https:\/\/fivemor.com\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gemma 2B vs Llama 3.2 vs Qwen 7B - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fivemor.com\/?p=35349","og_locale":"en_US","og_type":"article","og_title":"Gemma 2B vs Llama 3.2 vs Qwen 7B - Som2ny Network","og_description":"Entity extraction, also known as Named Entity Recognition, is a crucial task in natural language processing that focuses on identifying and classifying key information from unstructured text. This process involves detecting specific entities such as names of people, organizations, locations, dates, and various other categories of information within a body of text. The primary goal [&hellip;]","og_url":"https:\/\/fivemor.com\/?p=35349","og_site_name":"Som2ny Network","article_published_time":"2025-01-18T18:55:36+00:00","og_image":[{"width":872,"height":473,"url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fivemor.com\/?p=35349#article","isPartOf":{"@id":"https:\/\/fivemor.com\/?p=35349"},"author":{"name":"admin","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371"},"headline":"Gemma 2B vs Llama 3.2 vs Qwen 7B","datePublished":"2025-01-18T18:55:36+00:00","mainEntityOfPage":{"@id":"https:\/\/fivemor.com\/?p=35349"},"wordCount":2050,"commentCount":0,"publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"image":{"@id":"https:\/\/fivemor.com\/?p=35349#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp","keywords":["Blogathon","Gemma","Llama","Qwen"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fivemor.com\/?p=35349#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fivemor.com\/?p=35349","url":"https:\/\/fivemor.com\/?p=35349","name":"Gemma 2B vs Llama 3.2 vs Qwen 7B - Som2ny Network","isPartOf":{"@id":"https:\/\/fivemor.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/fivemor.com\/?p=35349#primaryimage"},"image":{"@id":"https:\/\/fivemor.com\/?p=35349#primaryimage"},"thumbnailUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp","datePublished":"2025-01-18T18:55:36+00:00","breadcrumb":{"@id":"https:\/\/fivemor.com\/?p=35349#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fivemor.com\/?p=35349"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/?p=35349#primaryimage","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2025\/01\/Small-But-Mighty-Evaluating-Small-Language-Models-for-Entity-Extraction.webp.webp","width":872,"height":473},{"@type":"BreadcrumbList","@id":"https:\/\/fivemor.com\/?p=35349#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fivemor.com\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"Gemma 2B vs Llama 3.2 vs Qwen 7B"}]},{"@type":"WebSite","@id":"https:\/\/fivemor.com\/#website","url":"https:\/\/fivemor.com\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/fivemor.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fivemor.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/fivemor.com\/#organization","name":"Som2ny Network","url":"https:\/\/fivemor.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/","url":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/fivemor.com\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/fivemor.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/fivemor.com\/#\/schema\/person\/b85e3c3dc0e1daea076524dc8810c371","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fivemor.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Ffivemor.com%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/fivemor.com"],"url":"https:\/\/fivemor.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/35349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35349"}],"version-history":[{"count":0,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/posts\/35349\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=\/wp\/v2\/media\/35350"}],"wp:attachment":[{"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35349"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=35349"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/fivemor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=35349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}