Skip to content

Add model cohere-transcribe-arabic-07-2026 - #127

Open
oaattia wants to merge 2 commits into
handy-computer:mainfrom
oaattia:feat/cohere-transcribe-arabic
Open

Add model cohere-transcribe-arabic-07-2026#127
oaattia wants to merge 2 commits into
handy-computer:mainfrom
oaattia:feat/cohere-transcribe-arabic

Conversation

@oaattia

@oaattia oaattia commented Aug 13, 2026

Copy link
Copy Markdown

Summary

Add support for CohereLabs/cohere-transcribe-arabic-07-2026 as requested in #86. This is a new variant of the cohere family (Arabic/English, 2B params, Conformer encoder + Transformer encoder-decoder). It reuses the existing src/arch/cohere/ loader — no C++ changes needed.

Scope

  • reports/porting/cohere/cohere-transcribe-arabic-07-2026/intake.json — new intake (draft)
  • scripts/convert-cohere.py — variant/version derivation + vocab_size fallback
  • scripts/hf_cards/cohere-transcribe-arabic-07-2026.yaml — new HF card spec
  • tests/cohere_real_smoke.cpp — variant-agnostic checks
  • tests/golden/cohere/cohere-transcribe-arabic-07-2026.manifest.json — new golden manifest
  • tests/tolerances/cohere-transcribe-arabic-07-2026.json — new tolerances

AI Assistance

I used AI to generate code and reviewed it myself, so I am responsible for any diffs.

Validation

  • scripts/ci/clang-format.sh --check — PASS
  • uv run scripts/preflight.py --family cohere --variant cohere-transcribe-arabic-07-2026 --gate A — WARN (expected: no GGUF yet)
  • upstream_commit c3e911b verified on HuggingFace (CohereLabs/cohere-transcribe-arabic-07-2026, 2026-07-13)
  • Tested locally with Handy UI — model downloads and works
image

oabdelrahmann and others added 2 commits August 13, 2026 15:15
- scripts/convert-cohere.py: arabic variant support
- tests/cohere_real_smoke.cpp: real smoke test for arabic
- reports/porting/cohere/cohere-transcribe-arabic-07-2026/intake.json: port intake
- scripts/hf_cards/cohere-transcribe-arabic-07-2026.yaml: hf card
- tests/golden/cohere/cohere-transcribe-arabic-07-2026.manifest.json: golden
- tests/tolerances/cohere-transcribe-arabic-07-2026.json: tolerances
…izer type and manifest fields

- Swap hf_repo/target_repo in hf_cards yaml to match repo convention
- Pin upstream_commit to c3e911b (verified on HF, replaces invalid 6a1364c)
- Pin hf_revision in golden manifest to c3e911b (was 'main')
- Fix tokenizer type from 'bpe' to 'sentencepiece' in manifest and intake
- Populate vocab_size and special_tokens in manifest from intake data
@oaattia
oaattia marked this pull request as ready for review August 13, 2026 20:01
@oaattia
oaattia requested a review from cjpais as a code owner August 13, 2026 20:01
@cjpais

cjpais commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Thanks for submitting, I'll double check as well, I thought I might have already added this to huggingface but I forget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants