Gemma 4
Gemma 4 produces object detections from image and text input.
- 작업
- detection
- 크기
- e2b, e4b at 896 px
- 설치
pip install "libreyolo[vlm]"- 지원 티어
- 별도 티어, v1.6.0부터 지원. 자체 팩토리와 계약을 갖춘 별도의 제품 영역입니다.
- 라이선스
- 코드 MIT, 가중치 Apache-2.0. 상업적 사용
Install
bash
pip install "libreyolo[vlm]" "transformers>=5.10.0"Predict
Python
from libreyolo import LibreVLM, SAMPLE_IMAGE model = LibreVLM("gemma-4-e2b", device="cpu")model.set_classes(["person", "building"])result = model(SAMPLE_IMAGE)print(result.boxes)The E2B and E4B adapters parse boxes on a 0–1000 coordinate grid. The bare gemma-4 alias selects E4B. Install Transformers 5.10 or later. Training is not supported.
Licensing
내려받는 특정 가중치의 Hugging Face 저장소에서 라이선스를 확인하십시오. LibreYOLO 조직의 모든 체크포인트에는 라이선스가 있으며 한 계열 안에서도 항상 같지는 않습니다. 해당 저장소가 신뢰할 수 있는 기준입니다. 아래 요약은 이 페이지를 마지막으로 검증했을 때 적용된 내용을 설명합니다.
관련 라이선스에 관한 설명이며 법률 자문이 아닙니다. 상업적으로 중요한 사안이라면 라이선스를 직접 읽고 별도의 법률 자문을 받으십시오.
- 원작
- Gemma 4, Google
- 업스트림 라이선스
- Apache-2.0
- 업스트림 소스
- huggingface.co/google
- LibreYOLO 코드
- MIT
- 가중치
- Apache-2.0, huggingface.co/LibreYOLO에 다시 게시됨
- 해석
- The Gemma 4 adapters reference Apache-2.0 snapshots; this declaration does not apply to other Gemma generations.