Text Generation
PEFT
Safetensors
conversational-memory
information-extraction
long-context
lora
qwen2.5
conversational
Instructions to use AsadIsmail/prism-memory with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AsadIsmail/prism-memory with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "AsadIsmail/prism-memory") - Notebooks
- Google Colab
- Kaggle
File size: 9,848 Bytes
9088f51 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | {
"model_name": "PRISM-Memory 7B Adapter",
"base_model": "Qwen/Qwen2.5-7B-Instruct",
"examples": [
{
"id": "ci_rollout",
"title": "CI rollout and platform constraints",
"note": "Numeric limits, alert preferences, and rollout state stay compact and queryable.",
"transcript": "[2025-03-01] Dana: We have 20 concurrent jobs max on GitHub Actions right now. Keep Snyk Slack notifications aggregated and concise, not one alert per repo.\n[2025-03-02] Ravi: Let's start with incremental scans and matrix jobs first, then widen coverage after the baseline stabilizes.\n[2025-03-07] Dana: No mTLS yet. Put it in phase two after the canary rollout.",
"later_question": "What is the current concurrency limit, how should Slack alerts behave, and when is mTLS planned?",
"answer_from_memory": "The current GitHub Actions concurrency limit is 20 jobs. Slack notifications should be aggregated and concise. mTLS is planned for phase two after the canary rollout.",
"source_mode": "released_model_precomputed",
"turns": [
{
"turn_index": 1,
"date": "2025-03-01",
"speaker": "Dana",
"text": "We have 20 concurrent jobs max on GitHub Actions right now. Keep Snyk Slack notifications aggregated and concise, not one alert per repo.",
"prism_memory": [
"GitHub Actions concurrency limit: 20 concurrent jobs",
"Snyk Slack notifications aggregated and concise; no separate alerts per repo"
],
"memory_store_after_turn": [
"GitHub Actions concurrency limit: 20 concurrent jobs",
"Snyk Slack notifications aggregated and concise; no separate alerts per repo"
]
},
{
"turn_index": 2,
"date": "2025-03-02",
"speaker": "Ravi",
"text": "Let's start with incremental scans and matrix jobs first, then widen coverage after the baseline stabilizes.",
"prism_memory": [
"Plan: start with incremental scans and matrix jobs; widen coverage after baseline stabilizes"
],
"memory_store_after_turn": [
"GitHub Actions concurrency limit: 20 concurrent jobs",
"Snyk Slack notifications aggregated and concise; no separate alerts per repo",
"Plan: start with incremental scans and matrix jobs; widen coverage after baseline stabilizes"
]
},
{
"turn_index": 3,
"date": "2025-03-07",
"speaker": "Dana",
"text": "No mTLS yet. Put it in phase two after the canary rollout.",
"prism_memory": [
"No mutual TLS enabled; mutual TLS will be implemented in phase two after the canary rollout."
],
"memory_store_after_turn": [
"GitHub Actions concurrency limit: 20 concurrent jobs",
"Snyk Slack notifications aggregated and concise; no separate alerts per repo",
"Plan: start with incremental scans and matrix jobs; widen coverage after baseline stabilizes",
"No mutual TLS enabled; mutual TLS will be implemented in phase two after the canary rollout."
]
}
],
"final_memory": [
"GitHub Actions concurrency limit: 20 concurrent jobs",
"Snyk Slack notifications aggregated and concise; no separate alerts per repo",
"Plan: start with incremental scans and matrix jobs; widen coverage after baseline stabilizes",
"No mutual TLS enabled; mutual TLS will be implemented in phase two after the canary rollout."
]
},
{
"id": "travel_replan",
"title": "Trip updates and hard constraints",
"note": "Updated plans should replace stale ones while durable constraints remain.",
"transcript": "[2025-06-12] Maya: We booked the Lisbon trip for September 14. I want a quiet hotel near Alfama, and no red-eye flights.\n[2025-06-18] Omar: The outbound should leave after 9am because early flights wreck me.\n[2025-07-02] Maya: Update the plan: Lisbon is off. We are going to Porto on September 21 instead, still no red-eye flights.",
"later_question": "Where is the trip now, on what date, and what flight constraint still applies?",
"answer_from_memory": "The current trip is to Porto on September 21, 2025, and red-eye flights are still off limits.",
"source_mode": "released_model_precomputed",
"turns": [
{
"turn_index": 1,
"date": "2025-06-12",
"speaker": "Maya",
"text": "We booked the Lisbon trip for September 14. I want a quiet hotel near Alfama, and no red-eye flights.",
"prism_memory": [
"Lisbon trip booked for September 14",
"Prefers a quiet hotel near Alfama",
"Prefers no red-eye flights"
],
"memory_store_after_turn": [
"Lisbon trip booked for September 14",
"Prefers a quiet hotel near Alfama",
"Prefers no red-eye flights"
]
},
{
"turn_index": 2,
"date": "2025-06-18",
"speaker": "Omar",
"text": "The outbound should leave after 9am because early flights wreck me.",
"prism_memory": [
"Outbound flight should depart after 9am."
],
"memory_store_after_turn": [
"Lisbon trip booked for September 14",
"Prefers a quiet hotel near Alfama",
"Prefers no red-eye flights",
"Outbound flight should depart after 9am."
]
},
{
"turn_index": 3,
"date": "2025-07-02",
"speaker": "Maya",
"text": "Update the plan: Lisbon is off. We are going to Porto on September 21 instead, still no red-eye flights.",
"prism_memory": [
"Lisbon trip canceled; Porto trip scheduled for September 21.",
"No red-eye flights for Porto trip."
],
"memory_store_after_turn": [
"Lisbon trip booked for September 14",
"Prefers a quiet hotel near Alfama",
"Prefers no red-eye flights",
"Outbound flight should depart after 9am.",
"Lisbon trip canceled; Porto trip scheduled for September 21.",
"No red-eye flights for Porto trip."
]
}
],
"final_memory": [
"Lisbon trip booked for September 14",
"Prefers a quiet hotel near Alfama",
"Prefers no red-eye flights",
"Outbound flight should depart after 9am.",
"Lisbon trip canceled; Porto trip scheduled for September 21.",
"No red-eye flights for Porto trip."
]
},
{
"id": "health_hobby",
"title": "Health constraints and new routines",
"note": "Personal constraints, routines, and hobbies should stay available for later coaching or reminders.",
"transcript": "[2025-08-03] Sam: My doctor wants me to keep sodium under 2 grams a day. I started painting on weekends because it helps me decompress.\n[2025-08-17] Sam: I bought watercolors and signed up for a Saturday class downtown.\n[2025-09-01] Sam: Skip late-night coffee from now on; it wrecks my sleep.",
"later_question": "What hobby did Sam start, what class did he sign up for, and what health constraints matter now?",
"answer_from_memory": "Sam started painting, signed up for a Saturday watercolor class downtown, should keep sodium under 2 grams per day, and wants to avoid late-night coffee.",
"source_mode": "released_model_precomputed",
"turns": [
{
"turn_index": 1,
"date": "2025-08-03",
"speaker": "Sam",
"text": "My doctor wants me to keep sodium under 2 grams a day. I started painting on weekends because it helps me decompress.",
"prism_memory": [
"Doctor recommended Sam limit sodium intake to 2 grams per day.",
"Sam paints on weekends as a decompression activity."
],
"memory_store_after_turn": [
"Doctor recommended Sam limit sodium intake to 2 grams per day.",
"Sam paints on weekends as a decompression activity."
]
},
{
"turn_index": 2,
"date": "2025-08-17",
"speaker": "Sam",
"text": "I bought watercolors and signed up for a Saturday class downtown.",
"prism_memory": [
"Sam bought watercolors and signed up for a Saturday painting class downtown."
],
"memory_store_after_turn": [
"Doctor recommended Sam limit sodium intake to 2 grams per day.",
"Sam paints on weekends as a decompression activity.",
"Sam bought watercolors and signed up for a Saturday painting class downtown."
]
},
{
"turn_index": 3,
"date": "2025-09-01",
"speaker": "Sam",
"text": "Skip late-night coffee from now on; it wrecks my sleep.",
"prism_memory": [
"Sam decided to skip late-night coffee starting now."
],
"memory_store_after_turn": [
"Doctor recommended Sam limit sodium intake to 2 grams per day.",
"Sam paints on weekends as a decompression activity.",
"Sam bought watercolors and signed up for a Saturday painting class downtown.",
"Sam decided to skip late-night coffee starting now."
]
}
],
"final_memory": [
"Doctor recommended Sam limit sodium intake to 2 grams per day.",
"Sam paints on weekends as a decompression activity.",
"Sam bought watercolors and signed up for a Saturday painting class downtown.",
"Sam decided to skip late-night coffee starting now."
]
}
]
}
|