Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
text
stringlengths
95
163k
source
stringclasses
36 values
domain
stringclasses
1 value
subdomain
stringclasses
8 values
language
stringclasses
1 value
word_count
int64
20
10k
url
stringlengths
19
294
title
stringlengths
0
1.3k
year
unknown
journal
stringclasses
7 values
crop
stringclasses
1 value
state
stringclasses
3 values
Impact of cultivar on grapevine physiological adaptation to drought and subsequent rehydration Understanding grapevine responses to water deficit and rewatering is essential for developing adaptive strategies to mitigate the negative impacts of climate change in Mediterranean viticulture. This study evaluated the ecop...
pubmed
agriculture
research_papers
en
4,937
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13065516/
Impact of cultivar on grapevine physiological adaptation to drought and subsequent rehydration
null
null
null
null
Query: asking about the disease management in paddy cultivation. Answer: i told her to apply carbendazim at the rate 2g in one litre of water.
kcc_kaggle
agriculture
farmer_queries
en
25
kcc_kaggle://row_24163_244466
asking about the disease management in paddy cultivation.
null
null
L-arginine metabolism inhibits arthritis and inflammatory bone loss To investigate the effect of the L-arginine metabolism on arthritis and inflammation-mediated bone loss. L-arginine was applied to three arthritis models (collagen-induced arthritis, serum-induced arthritis and human TNF transgenic mice). Inflammation...
pubmed2
agriculture
research_papers
en
6,593
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10803985/
L-arginine metabolism inhibits arthritis and inflammatory bone loss
null
null
null
null
The Dynamics of Sugar Maize (Zea mays saccharata Sturt.) Infestation of Field Pansy (Viola arvensis) Field pansy infestation can lead to a decrease in the species diversity of plant communities and to the disappearance of other species. Field pansy infestation is fairly common in many crops, including maize. Understan...
pubmed
agriculture
research_papers
en
5,366
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10609947/
The Dynamics of Sugar Maize (Zea mays saccharata Sturt.) Infestation of Field Pansy (Viola arvensis)
null
null
null
null
Overexpression of PagERF072 from Poplar Improves Salt Tolerance Extreme environments, especially drought and high salt conditions, seriously affect plant growth and development. Ethylene-responsive factor (ERF) transcription factors play an important role in salt stress response. In this study, a significantly upregul...
pubmed2
agriculture
research_papers
en
4,682
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9502824/
Overexpression of PagERF072 from Poplar Improves Salt Tolerance
null
null
null
null
Hydrological processing of salinity and nitrate in the Salinas Valley agricultural watershed. Regime shifts of major salinity constituents (Ca, Mg, Na, K, SO<sub>4</sub>, Cl, HCO<sub>3</sub>, and NO<sub>3</sub>) in the lower Salinas River, an agricultural ecosystem, can have major impacts on ecosystem services central...
europepmc
agriculture
research_papers
en
358
https://doi.org/10.1007/s10661-020-08811-3
Hydrological processing of salinity and nitrate in the Salinas Valley agricultural watershed.
2021
null
null
Modification of the existing maximum residue levels for mandipropamid in various crops In accordance with Article 6 of Regulation (EC) No 396/2005, the applicants Syngenta Crop Protection B.V. and Agriculture and Horticulture Development Board (AHDB) submitted, respectively, a request to the competent national authori...
pubmed2
agriculture
research_papers
en
3,585
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7009267/
Modification of the existing maximum residue levels for mandipropamid in various crops
null
null
null
null
"Phenotypic plasticity of four Chenopodiaceae species with contrasting saline–sodic tolerance in r(...TRUNCATED)
pubmed2
agriculture
research_papers
en
4,739
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6392380/
"Phenotypic plasticity of four Chenopodiaceae species with contrasting saline–sodic tolerance in r(...TRUNCATED)
null
null
null
null
"Potential of volatile organic compounds in the management of insect pests and diseases of food legu(...TRUNCATED)
europepmc
agriculture
research_papers
en
252
https://doi.org/10.3389/fpls.2024.1430863
"Potential of volatile organic compounds in the management of insect pests and diseases of food legu(...TRUNCATED)
2024
null
null
"Copper Tolerance and Accumulation on Pelargonium graveolens L’Hér. Grown in Hydroponic Culture\n(...TRUNCATED)
pubmed
agriculture
research_papers
en
7,795
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8398543/
Copper Tolerance and Accumulation on Pelargonium graveolens L’Hér. Grown in Hydroponic Culture
null
null
null
null
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

AgriSLM Pre-Training Corpus

Domain: Agriculture (India-focused, English)
Version: 1.0
Total Documents: 266,691
Total Tokens: ~1.32 billion
File: corpus_filtered.jsonl (6.5 GB)


Purpose

Pre-training corpus for a 100–300M parameter agriculture-domain language model. Covers Indian and global agriculture: crops, soil science, irrigation, pest management, livestock, food security, government schemes, farmer Q&A, and research papers.


Document Schema

Every line in corpus_filtered.jsonl is a JSON object:

{
  "text": "Full article or document text",
  "source": "pubmed",
  "domain": "agriculture",
  "subdomain": "research_papers",
  "language": "en",
  "word_count": 3200,
  "url": "https://...",
  "title": "Article title"
}

Sources

Source Docs Share Description
pubmed2 77,607 29.1% PubMed open-access full-text papers (batch 2)
pubmed 76,759 28.8% PubMed open-access full-text papers (batch 1)
europepmc 56,678 21.3% Europe PMC open-access abstracts
europepmc2 12,524 4.7% Europe PMC expansion queries
pubmed3 11,990 4.5% PubMed batch 3 (mechanization, food chem, entomology)
core 11,868 4.5% CORE open-access full-text papers
wikipedia_agri 8,317 3.1% Wikipedia agriculture category articles
kcc_kaggle 6,072 2.3% India KCC farmer helpline Q&A (government data)
extension 1,935 0.7% Agricultural extension service articles
arxiv 2,917 1.1% arXiv preprints (agriculture/food science)
irri 1,206 0.5% IRRI rice research publications
fao 1,135 0.4% FAO international agriculture documents
cimmyt 1,013 0.4% CIMMYT maize/wheat research
icrisat 470 0.2% ICRISAT dryland crops research
icar 556 0.2% ICAR India national agriculture research
kisanvaani 548 0.2% KisanVaani farmer Q&A
other ~5,000 ~2% TNAU, NABARD, universities, news portals

Quality Filters Applied

  1. Language: English only (>60% ASCII characters)
  2. Minimum length: 150 words (50 words for Q&A sources)
  3. Maximum length: 10,000 words (removes conference abstract books)
  4. Agriculture relevance: Must contain at least 1 agriculture keyword hit
  5. Deduplication: MinHash LSH (80% Jaccard threshold, 128 permutations)

Loading the Dataset

Python (streaming, memory-efficient)

import jsonlines

with jsonlines.open("corpus_filtered.jsonl") as reader:
    for doc in reader:
        text = doc["text"]
        source = doc["source"]
        # process doc...

Hugging Face datasets

from datasets import load_dataset

ds = load_dataset("json", data_files="corpus_filtered.jsonl", split="train")
# Access: ds[0]["text"], ds[0]["source"], etc.

Quick stats

import jsonlines
from collections import Counter

sources = Counter()
total_tokens = 0
with jsonlines.open("corpus_filtered.jsonl") as r:
    for doc in r:
        sources[doc["source"]] += 1
        total_tokens += int(doc.get("word_count", 0) / 0.75)
print(f"Total tokens: {total_tokens:,}")
print(sources.most_common(10))

Reproducing the Dataset

All collection and processing scripts are in scripts/:

scripts/
  collect_pubmed*.py       # PubMed via NCBI E-utilities
  collect_europepmc*.py    # Europe PMC REST API
  collect_wikipedia_agri.py
  collect_kcc_kaggle.py    # Kaggle KCC dataset
  collect_core.py          # CORE open-access API
  clean_dataset.py         # Quality filtering per source
  dedup_dataset.py         # MinHash LSH deduplication
  merge_corpus.py          # Shuffle and merge
  filter_corpus.py         # Post-processing filter

Known Limitations

  • Skewed toward research papers (~88% from PubMed/EuropePMC abstracts/full-text)
  • Limited Indian-language content — English only; Hindi/regional language agriculture content not included
  • Government portal coverage is thin — ICAR, FAO, TNAU contribute <1% each due to scraping restrictions
  • No real-time data — collection done June 2026; no live prices, weather, or news after that date

Contact

Built by Anmol Nimmala (amolnimmala@gmail.com) for Tribe3 agriculture SLM project.

Downloads last month
46