* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, December 19, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    State Farm Arena Ranks In The Top 5 Live Entertainment Venues In The U.S. & Top 7 In The World, According To Billboard – Secret Atlanta

    State Farm Arena Ranks In The Top 5 Live Entertainment Venues In The U.S. & Top 7 In The World, According To Billboard – Secret Atlanta

    Walk on White features Conchettes and Santa – keysnews.com

    Uncover the Enchantment of Conchettes and Santa in Walk on White

    Blizzard Entertainment President on BlizzCon 2026, 35th Anniversary Plans – Variety

    Blizzard Entertainment President Reveals Thrilling BlizzCon 2026 and 35th Anniversary Celebrations

    SM Entertainment accelerates US push with early debut plans for rookie acts – The Korea Herald

    SM Entertainment Sets the Stage for a US Takeover with Exciting Early Debuts of New Rookie Acts

    Star Entertainment CEO Steve McCann to exit after bruising turnaround stint – Reuters

    Star Entertainment CEO Steve McCann to Step Down Following Tough Turnaround Battle

    Australia’s Star Entertainment CEO Steve McCann steps down By Reuters – Investing.com

    Australia’s Star Entertainment CEO Steve McCann steps down By Reuters – Investing.com

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    6G discussions: How things have changed – 5gtechnologyworld.com

    The Evolution of 6G: How the Conversation Has Transformed

    Retail supply chains brace for a redefined 2026 as tariffs, technology gaps, and nearshoring upend old models – Raleigh News & Observer

    Retail Supply Chains Revolutionize in 2026: How Tariffs, Technology Gaps, and Nearshoring Are Shaping the Future

    China exploits US-funded research on nuclear technology, a congressional report says – ABC News

    Congressional Report Uncovers China’s Exploitation of US-Funded Nuclear Technology Research

    Netcracker Dominates International Business and Technology Excellence Awards – Business Wire

    Netcracker Shines Bright at International Business and Technology Excellence Awards

    Can OpenAI Respond After Google Closes the A.I. Technology Gap? – The New York Times

    Can OpenAI Stay Ahead as Google Narrows the A.I. Technology Race?

    Abstract Technology Group moves location to Elmwood – Star City TV

    Abstract Technology Group Moves to the Vibrant Elmwood Neighborhood, Sparking Excitement

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    State Farm Arena Ranks In The Top 5 Live Entertainment Venues In The U.S. & Top 7 In The World, According To Billboard – Secret Atlanta

    State Farm Arena Ranks In The Top 5 Live Entertainment Venues In The U.S. & Top 7 In The World, According To Billboard – Secret Atlanta

    Walk on White features Conchettes and Santa – keysnews.com

    Uncover the Enchantment of Conchettes and Santa in Walk on White

    Blizzard Entertainment President on BlizzCon 2026, 35th Anniversary Plans – Variety

    Blizzard Entertainment President Reveals Thrilling BlizzCon 2026 and 35th Anniversary Celebrations

    SM Entertainment accelerates US push with early debut plans for rookie acts – The Korea Herald

    SM Entertainment Sets the Stage for a US Takeover with Exciting Early Debuts of New Rookie Acts

    Star Entertainment CEO Steve McCann to exit after bruising turnaround stint – Reuters

    Star Entertainment CEO Steve McCann to Step Down Following Tough Turnaround Battle

    Australia’s Star Entertainment CEO Steve McCann steps down By Reuters – Investing.com

    Australia’s Star Entertainment CEO Steve McCann steps down By Reuters – Investing.com

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    6G discussions: How things have changed – 5gtechnologyworld.com

    The Evolution of 6G: How the Conversation Has Transformed

    Retail supply chains brace for a redefined 2026 as tariffs, technology gaps, and nearshoring upend old models – Raleigh News & Observer

    Retail Supply Chains Revolutionize in 2026: How Tariffs, Technology Gaps, and Nearshoring Are Shaping the Future

    China exploits US-funded research on nuclear technology, a congressional report says – ABC News

    Congressional Report Uncovers China’s Exploitation of US-Funded Nuclear Technology Research

    Netcracker Dominates International Business and Technology Excellence Awards – Business Wire

    Netcracker Shines Bright at International Business and Technology Excellence Awards

    Can OpenAI Respond After Google Closes the A.I. Technology Gap? – The New York Times

    Can OpenAI Stay Ahead as Google Narrows the A.I. Technology Race?

    Abstract Technology Group moves location to Elmwood – Star City TV

    Abstract Technology Group Moves to the Vibrant Elmwood Neighborhood, Sparking Excitement

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

Ferret: An End-to-End MLLM by Apple

December 23, 2023
in Technology
Ferret: An End-to-End MLLM by Apple
Share on FacebookShare on Twitter

An End-to-End MLLM that Accept Any-Form Referring and Ground Anything in Response. [Paper]

Haoxuan You*, Haotian Zhang*, Zhe Gan, Xianzhi Du, Bowen Zhang, Zirui Wang, Liangliang Cao, Shih-Fu Chang, Yinfei Yang
[*: equal contribution]

Overview


Diagram of Ferret Model.

Key Contributions:

Ferret Model – Hybrid Region Representation + Spatial-aware Visual Sampler enable fine-grained and open-vocabulary referring and grounding in MLLM.
GRIT Dataset (~1.1M) – A Large-scale, Hierarchical, Robust ground-and-refer instruction tuning dataset.
Ferret-Bench – A multimodal evaluation benchmark that jointly requires Referring/Grounding, Semantics, Knowledge, and Reasoning.

Release

[12/14] 🔥 We released the checkpoints(7B, 13B).
[10/30] 🔥 We released the code of FERRET model and Ferret-Bench.

Usage and License Notices: The data, and code is intended and licensed for research use only. They are also restricted to uses that follow the license agreement of LLaMA, Vicuna and GPT-4. The dataset is CC BY NC 4.0 (allowing only non-commercial use) and models trained using the dataset should not be used outside of research purposes.

Contents

Install
Train
Evaluation
Demo

Install

Clone this repository and navigate to FERRET folder

git clone https://github.com/apple/ml-ferret
cd ml-ferret

Install Package

conda create -n ferret python=3.10 -y
conda activate ferret
pip install –upgrade pip # enable PEP 660 support
pip install -e .
pip install pycocotools
pip install protobuf==3.20.0

Install additional packages for training cases

pip install ninja
pip install flash-attn –no-build-isolation

Train

FERRET is trained on 8 A100 GPUs with 80GB memory. To train on fewer GPUs, you can reduce the per_device_train_batch_size and increase the gradient_accumulation_steps accordingly. Always keep the global batch size the same: per_device_train_batch_size x gradient_accumulation_steps x num_gpus.

Hyperparameters

We use a similar set of hyperparameters as LLaVA(Vicuna) in finetuning.

Hyperparameter
Global Batch Size
Learning rate
Epochs
Max length
Weight decay

FERRET-7B
128
2e-5
3
2048
0

FERRET-13B
128
2e-5
3
2048
0

Prepare Vicuna checkpoint and LLaVA’s projector

Before you start, prepare our base model Vicuna, which is an instruction-tuned chatbot. Please download its weights following the instructions here. Vicuna v1.3 is used in FERRET.

Then download LLaVA’s first-stage pre-trained projector weight (7B, 13B).

FERRET Training

The scripts are provided (7B, 13B).

Evaluation

Please see this doc for the details.

Checkpoints

We extracted the delta between our pre-trained model and Vicuna. Please first download weights of Vicuna following the previous instruction. Then download our prepared offsets of weights: 7B, 13B using wget or curl, and unzip the downloaded offsets. Lastly, apply the offset to the Vicuna’s weight by running the following script:

# 7B
python3 -m ferret.model.apply_delta
–base ./model/vicuna-7b-v1-3
–target ./model/ferret-7b-v1-3
–delta path/to/ferret-7b-delta
# 13B
python3 -m ferret.model.apply_delta
–base ./model/vicuna-13b-v1-3
–target ./model/ferret-13b-v1-3
–delta path/to/ferret-13b-delta

Notices: Apple’s rights in the attached weight differentials are hereby licensed under the CC-BY-NC license. Apple makes no representations with regards to LLaMa or any other third party software, which are subject to their own terms.

Please refer to the next section about how to set up a local demo with pre-trained weight.

Demo

To run our demo, you need to train FERRET and use the checkpoints locally. Gradio web UI is used. Please run the following commands one by one.

Launch a controller
python -m ferret.serve.controller –host 0.0.0.0 –port 10000
Launch a gradio web server.
python -m ferret.serve.gradio_web_server –controller http://localhost:10000 –model-list-mode reload –add_region_feature
Launch a model worker

This is the worker that load the ckpt and do the inference on the GPU. Each worker is responsible for a single model specified in –model-path.

CUDA_VISIBLE_DEVICES=0 python -m ferret.serve.model_worker –host 0.0.0.0 –controller http://localhost:10000 –port 40000 –worker http://localhost:40000 –model-path ./checkpoints/FERRET-13B-v0 –add_region_feature

Wait until the process finishes loading the model and you see “Uvicorn running on …”. Now, refresh your Gradio web UI, and you will see the model you just launched in the model list.


Example of Ferret Interactive Demo.

Citation

If you find Ferret useful, please cite using this BibTeX:

@article{you2023ferret,
title={Ferret: Refer and Ground Anything Anywhere at Any Granularity},
author={You, Haoxuan and Zhang, Haotian and Gan, Zhe and Du, Xianzhi and Zhang, Bowen and Wang, Zirui and Cao, Liangliang and Chang, Shih-Fu and Yang, Yinfei},
journal={arXiv preprint arXiv:2310.07704},
year={2023}
}

Acknowledgement

LLaVA: the codebase we built upon.
Vicuna: the LLM codebase.

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : Hacker News – https://github.com/apple/ml-ferret

Tags: end-to-endFerrettechnology
Previous Post

AI companies required to disclose copyrighted training data under new bill

Next Post

You Can Train Your Brain to React to Stressful Situations Better. Here’s the 3-Step Process.

WHP Global Signs Deal with Pure Cotton Global Group to Relaunch Lotto as a Lifestyle Brand in the U.S. and Canada – Licensing International

WHP Global Partners with Pure Cotton Global Group to Relaunch Lotto as a Trendsetting Lifestyle Brand in the U.S. and Canada

December 19, 2025
6G discussions: How things have changed – 5gtechnologyworld.com

The Evolution of 6G: How the Conversation Has Transformed

December 19, 2025
NFL playoff picture: How the Seahawks helped the 49ers with win over Rams on ‘TNF’ – CBS Sports

NFL playoff picture: How the Seahawks helped the 49ers with win over Rams on ‘TNF’ – CBS Sports

December 19, 2025
Saudi Arabia’s 2034 World Cup stadium plans face delays and cost-cutting – The Guardian

Saudi Arabia’s Bold 2034 World Cup Stadium Vision Faces Setbacks and Budget Challenges

December 19, 2025
Engaging Diversity: An Inclusive Approach to Undergraduate Mentorship in Mobilization and Political Economy – Political Science Now

Engaging Diversity: An Inclusive Approach to Undergraduate Mentorship in Mobilization and Political Economy – Political Science Now

December 19, 2025
State Farm Arena Ranks In The Top 5 Live Entertainment Venues In The U.S. & Top 7 In The World, According To Billboard – Secret Atlanta

State Farm Arena Ranks In The Top 5 Live Entertainment Venues In The U.S. & Top 7 In The World, According To Billboard – Secret Atlanta

December 19, 2025
Mpox transmission, US flu surveillance highlighted in first Public Health Alerts reports – CIDRAP

Breaking New Ground: Essential Insights into Mpox Transmission and US Flu Surveillance Unveiled

December 19, 2025
The hard politics of climate overshoot – Financial Times

The High-Stakes Battle Over Climate Overshoot

December 19, 2025
How can we protect cool water in Western Washington’s forest streams? – Department of Ecology – State of Washington (.gov)

Safeguarding Western Washington’s Forest Streams: Strategies to Preserve Cool, Healthy Waters

December 19, 2025
Swearing Actually Seems to Make Humans Physically Stronger – ScienceAlert

Swearing Actually Boosts Human Physical Strength

December 19, 2025

Categories

Archives

December 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Nov    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (976)
  • Economy (995)
  • Entertainment (21,872)
  • General (18,829)
  • Health (10,035)
  • Lifestyle (1,008)
  • News (22,149)
  • People (1,001)
  • Politics (1,009)
  • Science (16,210)
  • Sports (21,496)
  • Technology (15,978)
  • World (984)

Recent News

WHP Global Signs Deal with Pure Cotton Global Group to Relaunch Lotto as a Lifestyle Brand in the U.S. and Canada – Licensing International

WHP Global Partners with Pure Cotton Global Group to Relaunch Lotto as a Trendsetting Lifestyle Brand in the U.S. and Canada

December 19, 2025
6G discussions: How things have changed – 5gtechnologyworld.com

The Evolution of 6G: How the Conversation Has Transformed

December 19, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version