Instructions to use sarvamai/sarvam-translate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sarvamai/sarvam-translate with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="sarvamai/sarvam-translate")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("sarvamai/sarvam-translate") model = AutoModelForMultimodalLM.from_pretrained("sarvamai/sarvam-translate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Word dropping
#21
by spitfire4794 - opened
While translating from English to Bangla on long paragraphs the model randomly drops words.
{
"id": 5,
"text": "Lesson Objective:\nBy the end of this lesson, students will be able to understand the history, characteristics, and influence of Jump Blues within the context of Big Band and Swing music genres. Through engaging activities and critical analysis, students will make connections between jump blues and contemporary music styles while developing their listening skills and ability to appreciate diverse musical expressions.\n\nSection 1: Historical Context of Big Band and Swing Music\nBefore delving into Jump Blues specifically, let us first establish the foundational knowledge necessary to comprehend its emergence. Beginning in the late 1920s through the early '50s, big band swing became America's most popular form of music, transcending racial barriers by appealing to both white and black audiences alike. Its roots can be traced back to jazz, which evolved throughout the decades under various monikers such as Dixieland Jazz, New Orleans Jazz, Chicago Style Jazz, Kansas City Jazz, and finally Swing. With the rise of radio broadcasting technology during this time period, bands like Duke Ellington's Orchestra, Count Basie's Orchestra, and Benny Goodman's Sextet gained nationwide recognition and adoration.\n\nActivity 1: Analyzing Early Swing Recordings\nDirect students to listen to seminal recordings from influential artists mentioned above. Afterward, facilitate group discussions regarding instrumentation, arrangement techniques, rhythmic patterns, and overall stylistic qualities unique to these ensembles. Encourage comparisons among different groups and discussion about how technological advancements contributed to their success.\n\nSection 2: Introduction to Jump Blues\nAs World War II loomed, economic constraints led to smaller ensemble sizes; thus, Jump Blues was born. Characterized by its lively tempo, danceable rhythms, and emphasis on strong vocals backed by horn sections, jump blues bridged the gap between traditional blues and boogie-woogie piano styles. Artists like Louis Jordan, Joe Liggins, Amos Milburn, Earl Bostic, and Jimmy Forrest propelled jump blues onto the charts and paved the way for R&B, rock 'n' roll, and soul music.\n\nListening Activity 2: Comparative Analysis of Jump Blues vs. Traditional Swing\nProvide students with side-by-side recordings featuring classic swing tunes alongside contemporaneous jump blues tracks. Task them with identifying similarities and differences in terms of instrumentation, vocal delivery, harmony, texture, and lyricism. Discuss how social changes influenced the shift towards jump blues and fostered a more energetic, interactive concert experience.\n\nSection 3: Contemporary Relevance and Legacy\nDespite fading from mainstream popularity post-WWII, jump blues remains an essential component of American musical heritage. Modern acts like Brian Setzer's Rockabilly Riot, Royal Crown Revue, and Big Bad Voodoo Daddy draw inspiration from vintage jump blues records, incorporating elements into their own repertoire. Furthermore, hip hop sampling practices often reference jump blues classics due to their infectious grooves and memorable hooks.\n\nDiscussion Prompt 3: Investigating Hip Hop Samples Derived From Jump Blues Records\nChallenge students to explore databases dedicated to uncovering source material used in modern hip hop productions. Instruct them to identify at least three instances where jump blues samples were utilized and analyze why these particular fragments proved so compelling for producers seeking to create fresh compositions. Conclude with a whole-class conversation dissecting how historical precedents continue shaping contemporary soundscapes.\n\nConclusion:\nThrough immersion in primary sources, analytical engagement, and interdisciplinary dialogue, students should now possess a deeper appreciation for the significance of jump blues within the broader scope of American vernacular music. By connecting past innovations to present trends, learners cultivate a heightened awareness of evolving traditions and deepen their capacity for meaningful participation in our increasingly global society.",
"model_a": "পাঠের উদ্দেশ্য:\nএই পাঠের শেষে, বিগ ব্যান্ড এবং সুইং সঙ্গীত ঘরানার প্রেক্ষাপটে জাম্প ব্লুজের ইতিহাস, বৈশিষ্ট্য এবং প্রভাব সম্পর্কে বুঝতে সক্ষম হবে। আকর্ষক কার্যক্রম এবং সমালোচনামূলক বিশ্লেষণের মাধ্যমে, জাম্প ব্লুজ এবং সমসাময়িক সঙ্গীত শৈলীর মধ্যে সংযোগ স্থাপন করতে পারবে এবং একই সাথে তাদের শোনার দক্ষতা এবং বিভিন্ন সঙ্গীত প্রকাশকে উপলব্ধি করার ক্ষমতা বিকাশ করতে পারবে।\n\nঅধ্যায় ১: বিগ ব্যান্ড এবং সুইং সঙ্গীতের ঐতিহাসিক প্রেক্ষাপট\nবিশেষভাবে জাম্প ব্লুজে প্রবেশ করার আগে, আসুন প্রথমে এর উত্থান বুঝতে মৌলিক জ্ঞান প্রতিষ্ঠা করি। ১৯২০-এর দশকের শেষ থেকে শুরু করে '৫০-এর দশকের শুরু পর্যন্ত, বিগ ব্যান্ড সুইং আমেরিকার সবচেয়ে জনপ্রিয় সঙ্গীত হয়ে ওঠে, যা শ্বেতাঙ্গ এবং কৃষ্ণাঙ্গ উভয় শ্রোতাদের কাছে আবেদন করে জাতিগত বাধা অতিক্রম করে। এর শিকড় জ্যাজের মধ্যে খুঁজে পাওয়া যায়, যা ডিক্সিল্যান্ড জ্যাজ, নিউ অরলিন্স জ্যাজ, শিকাগো স্টাইল জ্যাজ, কানসাস সিটি জ্যাজ এবং অবশেষে সুইং-এর মতো বিভিন্ন নামে কয়েক দশক ধরে বিকশিত হয়েছে। এই সময়ে রেডিও সম্প্রচার প্রযুক্তির উত্থানের সাথে সাথে ডিউক এলিংটনের অর্কেস্ট্রা, কাউন্ট বেসির অর্কেস্ট্রা এবং বেনি গুডম্যানের সেক্সটেটের মতো ব্যান্ডগুলি দেশব্যাপী স্বীকৃতি এবং জনপ্রিয়তা লাভ করে।\n\nকার্যকলাপ ১: প্রথম দিকের সুইং রেকর্ডিং বিশ্লেষণ\n\nশিক্ষার্থীদের উপরে উল্লিখিত প্রভাবশালী শিল্পীদের মৌলিক রেকর্ডিংগুলি শোনার জন্য সরাসরি নির্দেশ দিন। এরপর, বাদ্যযন্ত্র, বিন্যাস কৌশল, ছন্দোবদ্ধ প্যাটার্ন এবং এই ensemble গুলোর স্বতন্ত্র শৈলীগত গুণাবলী নিয়ে দলগত আলোচনা করতে উৎসাহিত করুন। বিভিন্ন দলের মধ্যে তুলনা এবং প্রযুক্তিগত অগ্রগতি কীভাবে তাদের সাফল্যের কারণ হয়েছিল সে সম্পর্কে আলোচনা করতে উৎসাহিত করুন।\n\nঅধ্যায় ২: জাম্প ব্লুজের ভূমিকা\nদ্বিতীয় বিশ্বযুদ্ধ যখন আসন্ন, তখন অর্থনৈতিক সীমাবদ্ধতার কারণে ensemble-এর আকার ছোট হয়ে যায়; তাই জাম্প ব্লুজের জন্ম হয়। এর প্রাণবন্ত টেম্পো, নাচতে পারার মতো ছন্দ এবং হর্ন সেকশন দ্বারা সমর্থিত শক্তিশালী কণ্ঠের উপর জোর দেওয়ার কারণে জাম্প ব্লুজ ঐতিহ্যবাহী ব্লুজ এবং বুগি-উগি পিয়ানো শৈলীর মধ্যে ব্যবধান পূরণ করে। লুই জর্ডান, জো লিগিন্স, অ্যামোস মিলবার্ন, আর্ল বোস্টিক এবং জিমি ফরেস্টের মতো শিল্পীরা জাম্প ব্লুজকে জনপ্রিয় করে তোলেন এবং আরএন্ডবি, রক 'এন' রোল এবং সোল সঙ্গীতের পথ প্রশস্ত করেন।\n\nশ্রবণ কার্যক্রম ২: জাম্প ব্লুজ বনাম ঐতিহ্যবাহী সুইং-এর তুলনামূলক বিশ্লেষণ\nশিক্ষার্থীদের ক্লাসিক সুইং সুরের পাশাপাশি সমসাময়িক জাম্প ব্লুজ ট্র্যাক সমন্বিত পাশাপাশি রেকর্ডিং সরবরাহ করুন। বাদ্যযন্ত্র, কণ্ঠের প্রকাশ, সুর, গঠন এবং গানের কথার ক্ষেত্রে মিল এবং অমিল চিহ্নিত করার জন্য তাদের কাজ দিন। আলোচনা করুন কীভাবে সামাজিক পরিবর্তন জাম্প ব্লুজের দিকে পরিবর্তনের উপর প্রভাব ফেলেছিল এবং আরও উদ্যমী, ইন্টারেক্টিভ কনসার্টের অভিজ্ঞতা তৈরি করেছিল।\n\nঅধ্যায় ৩: সমসাময়িক প্রাসঙ্গিকতা এবং\n\nদ্বিতীয় বিশ্বযুদ্ধের পর মূলধারার জনপ্রিয়তা হ্রাস পেলেও, জাম্প ব্লুজ আমেরিকান সঙ্গীত ঐতিহ্যের একটি অপরিহার্য উপাদান হিসেবে রয়ে গেছে। ব্রায়ান সেটজারের রকবিলি রায়ট, রয়্যাল ক্রাউন রেভিউ এবং বিগ ব্যাড ভুডু ড্যাডির মতো আধুনিক শিল্পীরা ভিনটেজ জাম্প ব্লুজ রেকর্ড থেকে অনুপ্রেরণা নিয়ে তাদের নিজস্ব পরিবেশনার মধ্যে উপাদান যুক্ত করে। উপরন্তু, হিপ হপ স্যাম্পলিং প্রায়শই জাম্প ব্লুজ ক্লাসিকের উল্লেখ করে, কারণ তাদের সংক্রামক সুর এবং স্মরণীয় হুক রয়েছে।\n\nআলোচনা সূত্র ৩: জাম্প ব্লুজ রেকর্ড থেকে প্রাপ্ত হিপ হপ স্যাম্পল অনুসন্ধান করা\nশিক্ষার্থীদের আধুনিক হিপ হপ প্রযোজনায় ব্যবহৃত উৎস উপাদান উন্মোচন করার জন্য ডেটাবেস অন্বেষণ করতে উৎসাহিত করুন। তাদের অন্তত তিনটি উদাহরণ চিহ্নিত করতে এবং বিশ্লেষণ করতে বলুন যেখানে জাম্প ব্লুজ স্যাম্পল ব্যবহার করা হয়েছে এবং কেন এই বিশেষ অংশগুলি নতুন রচনা তৈরি করতে আগ্রহী প্রযোজকদের জন্য এত প্রমাণিত হয়েছে। ঐতিহাসিক নজির কীভাবে সমসাময়িক সাউন্ডস্কেপকে আকার দিচ্ছে, তা নিয়ে পুরো ক্লাসের আলোচনার মাধ্যমে উপসংহার টানুন।\n\nউপসংহার:\nপ্রাথমিক উৎস, বিশ্লেষণাত্মক সম্পৃক্ততা এবং আন্তঃবিভাগীয় সংলাপের মাধ্যমে, এখন আমেরিকান স্থানীয় সঙ্গীতের বৃহত্তর প্রেক্ষাপটে জাম্প ব্লুজের তাৎপর্য সম্পর্কে গভীর ধারণা অর্জন করবে। অতীতের উদ্ভাবনগুলোকে বর্তমান প্রবণতার সাথে সংযুক্ত করে, বিবর্তিত ঐতিহ্য সম্পর্কে একটি গভীর সচেতনতা তৈরি করে এবং আমাদের বিশ্ব সমাজে অর্থবহ অংশগ্রহণের জন্য তাদের সক্ষমতা বৃদ্ধি করে।"
},
This is an example from one of my tests. It drops a few words such as Students.
Nevermind it appears the gguf files are broken. Loaded the safetensors model and it ran perfectly.
spitfire4794 changed discussion status to closed
Updating this to a request for official GGUF quants.
spitfire4794 changed discussion status to open