• bitcoinBitcoin(BTC)$86,156.000.91%
  • ethereumEthereum(ETH)$2,761.820.75%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$791.43-0.02%
  • rippleXRP(XRP)$1.543.69%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$117.700.32%
  • tronTRON(TRX)$0.3456020.39%
  • zcashZcash(ZEC)$1,523.04-1.26%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.011.27%
  • HyperliquidHyperliquid(HYPE)$95.870.42%
  • dogecoinDogecoin(DOGE)$0.1002896.52%
  • moneroMonero(XMR)$581.790.33%
  • whitebitWhiteBIT Coin(WBT)$86.760.24%
  • chainlinkChainlink(LINK)$13.13-0.31%
  • USDSUSDS(USDS)$1.000.00%
  • RainRain(RAIN)$0.013513-4.48%
  • cardanoCardano(ADA)$0.2512451.98%
  • leo-tokenLEO Token(LEO)$8.980.41%
  • stellarStellar(XLM)$0.2133392.02%
  • bitcoin-cashBitcoin Cash(BCH)$318.8217.40%
  • nearNEAR Protocol(NEAR)$4.599.82%
  • uniswapUniswap(UNI)$9.555.90%
  • Ethena USDeEthena USDe(USDE)$1.00-0.02%
  • avalanche-2Avalanche(AVAX)$10.93-3.89%
  • litecoinLitecoin(LTC)$61.84-2.08%
  • CantonCanton(CC)$0.1185012.37%
  • daiDai(DAI)$1.000.00%
  • USD1USD1(USD1)$1.00-0.03%
  • suiSui(SUI)$1.03-1.96%
  • hedera-hashgraphHedera(HBAR)$0.0953834.18%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.430.44%
  • BittensorBittensor(TAO)$324.7212.96%
  • shiba-inuShiba Inu(SHIB)$0.0000065.93%
  • crypto-com-chainCronos(CRO)$0.0672685.58%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • MemeCoreMemeCore(M)$1.32-11.50%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,334.40-0.61%
  • okbOKB(OKB)$122.830.50%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • BitwayBitway(BTW)$0.876.51%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.00%
  • aaveAave(AAVE)$144.94-2.16%
  • mantleMantle(MNT)$0.674.38%
  • EthenaEthena(ENA)$0.213431-6.18%
  • Pump.funPump.fun(PUMP)$0.0045984.51%
  • OndoOndo(ONDO)$0.435250-4.10%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Advancing Machine Learning with KerasCV and KerasNLP: A Comprehensive Overview

June 4, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Advancing Machine Learning with KerasCV and KerasNLP: A Comprehensive Overview
ShareShareShareShareShare

Keras is a widely used machine learning tool known for its high-level abstractions and ease of use, enabling rapid experimentation. Recent advances in CV and NLP have introduced challenges, such as the prohibitive cost of training large, state-of-the-art models. Access to open-source pretrained models is crucial. Additionally, preprocessing and metrics computation complexity has increased due to varied techniques and frameworks like JAX, TensorFlow, and PyTorch. Improving NLP model training performance is also difficult, with tools like the XLA compiler offering speedups but adding complexity to tensor operations.

Researchers from the Keras Team at Google LLC introduce KerasCV and KerasNLP, extensions of the Keras API for CV and NLP. These packages support JAX, TensorFlow, and PyTorch, emphasizing ease of use and performance. They feature a modular design, offering building blocks for models and data preprocessing at a low level and pretrained task models for popular architectures like Stable Diffusion and GPT-2 at a high level. These models include built-in preprocessing, pretrained weights, and fine-tuning capabilities. The libraries support XLA compilation and utilize TensorFlow’s tf. Data API for efficient preprocessing. They are open-source and available on GitHub.

The HuggingFace Transformers library parallels KerasNLP and KerasCV, offering pretrained model checkpoints for many transformer architectures. While HuggingFace uses a “repeat yourself” approach, KerasNLP adopts a layered approach to reimplement large language models with minimal code. Both methods have their pros and cons. KerasCV and KerasNLP publish all pretrained models on Kaggle Models, which are accessible in Kaggle competition notebooks even in Internet-off mode. Table 1 compares the average time per training or inference step for models like SAM, Gemma, BERT, and Mistral across different versions and frameworks of Keras.

The Keras Domain Packages API adopts a layered design with three main abstraction levels. Foundational Components offer composable modules for building preprocessing pipelines, models, and evaluation logic, which are usable independently of the Keras ecosystem. Pretrained Backbones provide fine-tuning-ready models with matching tokenizers for NLP. Task Models are specialized for tasks like text generation or object detection, combining lower-level modules for a unified training and inference interface. These models can be used with PyTorch, TensorFlow, and JAX frameworks. KerasCV and KerasNLP support the Keras Unified Distribution API for seamless model and data parallelism, simplifying the transition from single-device to multi-device training.

Framework performance varies with the specific model, and Keras 3 allows users to choose the fastest backend for their tasks, consistently outperforming Keras 2, as shown in Table 1. Benchmarks were conducted using a single NVIDIA A100 GPU with 40GB memory on a Google Cloud Compute Engine (a2-highgpu-1g) with 12 vCPUs and 85GB host memory. The same batch size was used across frameworks for the same model and task (fit or predict). Different batch sizes were employed for varying models and functions to optimize memory usage and GPU utilization. Gemma and Mistral used the same batch size due to their similar parameters.

In conclusion, there are plans to enhance the project’s capabilities in the future, particularly by broadening the range of multimodal models to support diverse applications. Additionally, efforts will focus on refining integrations with backend-specific large model serving solutions to ensure smooth deployment and scalability. KerasCV and KerasNLP present versatile toolkits featuring modular components for quick model prototyping and a variety of pretrained backbones and task models for computer vision and natural language processing tasks. These resources cater to JAX, TensorFlow, or PyTorch users, offering state-of-the-art training and inference performance. Comprehensive user guides for KerasCV and KerasNLP are available on Keras.io.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 43k+ ML SubReddit | Also, check out our AI Events Platform


YOU MAY ALSO LIKE

Peloton Has Made A Foldable (Treadmill)

OpenAI Faces Lawsuit From British Columbia Over Tumbler Ridge Shooting

Sana Hassan, a consulting intern at Marktechpost and dual-degree student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a keen interest in solving practical problems, he brings a fresh perspective to the intersection of AI and real-life solutions.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

Peloton Has Made A Foldable (Treadmill)
AI & Technology

Peloton Has Made A Foldable (Treadmill)

September 22, 2026
OpenAI Faces Lawsuit From British Columbia Over Tumbler Ridge Shooting
AI & Technology

OpenAI Faces Lawsuit From British Columbia Over Tumbler Ridge Shooting

September 22, 2026
NVIDIA Introduces SoL-Pi: Auto-Research Loops That Cut Coding Agent Token Traffic by Up to 49%
AI & Technology

NVIDIA Introduces SoL-Pi: Auto-Research Loops That Cut Coding Agent Token Traffic by Up to 49%

September 22, 2026
SpaceXAI Releases Grok 4.7: A Larger Base Model at the Same / Price as Grok 4.6
AI & Technology

SpaceXAI Releases Grok 4.7: A Larger Base Model at the Same $2/$6 Price as Grok 4.6

September 22, 2026
Next Post
Father and son charged in connection with pregnant Texas teen’s death

Father and son charged in connection with pregnant Texas teen's death

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Bungie Leaders Now Say The Studio’s ‘Not Done With Destiny’

Bungie Leaders Now Say The Studio’s ‘Not Done With Destiny’

September 21, 2026
Live Updates: Treasury Secretary Bessent Testifies Before House Panel on Economy – The New York Times

Live Updates: Treasury Secretary Bessent Testifies Before House Panel on Economy – The New York Times

September 15, 2026
Markey wins Democratic Massachusetts Senate primary, NBC News projects

Markey wins Democratic Massachusetts Senate primary, NBC News projects

September 19, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!