Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
2.61k
2.77k
page_id
stringclasses
7 values
source_page
int64
3
9
printed_page
int64
2
8
source
stringclasses
1 value
markdown
stringclasses
7 values
inference_info
stringclasses
1 value
nasa-food-for-space-flight-003
3
2
https://ntrs.nasa.gov/citations/19830005543
Food for Space Flight More than 20 years ago, astronaut John Glenn became the first American to orbit the Earth. His mission lasted nearly five hours and before splashing down in the Atlantic ocean, Glenn and his Mercury spacecraft completed three trips around the world. Among the many tasks Glenn had to perform whil...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
nasa-food-for-space-flight-004
4
3
https://ntrs.nasa.gov/citations/19830005543
and hot foods at a temperature of 67 degrees C (154 degrees F) and chilled water at 7 degrees C (45 degrees F). Water temperatures from the dispenser of the Gemini spacecraft hovered at the 21 degrees C (70 degrees F) ambient spacecraft temperature. With hot water available, food was easier to rehydrate and much improv...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
nasa-food-for-space-flight-005
5
4
https://ntrs.nasa.gov/citations/19830005543
Food in a retort pouch is about to be inserted into the convection oven of the Shuttle's galley for heating. Vegetables and soups in plastic containers can be heated in the oven. was added to the usual utensils for cutting open the plastic membranes. With careful use of the utensils, food would remain in the cans unti...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
nasa-food-for-space-flight-006
6
5
https://ntrs.nasa.gov/citations/19830005543
rocket, orbits the Earth as a spacecraft, and lands as an airplane. Missions on the Shuttle will last from one to 30 days for crews of two to seven astronauts. To meet the nutritional needs of Shuttle crews, a new food system has been developed. This system centers around a galley that has been installed on the mid-de...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
nasa-food-for-space-flight-007
7
6
https://ntrs.nasa.gov/citations/19830005543
Space Shuttle Food and Beverage List Foods* Applesauce (T) Apricots, dried (IM) Asparagus (R) Bananas (FD) Beef almondine (R) Beef, corned (I) (T) Beef and gravy (T) Beef, ground w/pickle sauce (T) Beef jerky (IM) Beef patty (R) Beef, slices w/barbeque sauce (T) Beef steak (I) (T) Beef stroganoff w/noodles (R) Bread,...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
nasa-food-for-space-flight-008
8
7
https://ntrs.nasa.gov/citations/19830005543
Typical Menu for the First Four Shuttle Flights*,† DAY 1 Peaches (T) Beef patty (R) Scrambled eggs (R) Bran flakes (R) Cocoa (B) Orange drink (B) DAY 2 Applesauce (T) Beef jerky (NF) Granola (R) Breakfast roll (I) (NF) Chocolate, instant breakfast (B) Orange-grapefruit drink (B) DAY 3 Dried peaches (IM) Sausage (R) ...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
nasa-food-for-space-flight-009
9
8
https://ntrs.nasa.gov/citations/19830005543
A complete meal for Space Shuttle astronauts. Plastic, metal, and foil food containers are held in an aluminum meal tray by friction. This meal consists of smoked turkey (foil bag) mixed Italian vegetables, mushroom soup, strawberries, butterscotch pudding (can), and tropical fruit punch. by exposure to ionizing radia...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-09-15T16:30:47.762992", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]

Document OCR using GLM-OCR

This dataset contains OCR results from images in uv-scripts/ocr-demo using GLM-OCR, a compact 0.9B OCR model achieving SOTA performance.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 8,192
  • Temperature: 0.01
  • Top P: 1e-05
  • GPU Memory Utilization: 80.0%

Model Information

GLM-OCR is a compact, high-performance OCR model:

  • 0.9B parameters
  • 94.62% on OmniDocBench V1.5
  • CogViT visual encoder + GLM-0.5B language decoder
  • Multi-Token Prediction (MTP) loss for efficiency
  • Multilingual: zh, en, fr, es, ru, de, ja, ko
  • MIT licensed

Dataset Structure

The dataset contains all original columns plus:

  • markdown: The extracted text in markdown format
  • inference_info: JSON list tracking all OCR models applied to this dataset

Reproduction

Produced on Hugging Face Jobs (gpu) with the glm-ocr.py recipe from uv-scripts. Run it yourself:

hf jobs uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/glm-ocr.py \
    uv-scripts/ocr-demo \
    <output-dataset> \
    --image-column image \
    --batch-size 16 \
    --task ocr
Downloads last month
37